]> granicus.if.org Git - graphviz/commitdiff
Remove unused variables;
authorerg <devnull@localhost>
Sun, 29 Aug 2010 19:32:42 +0000 (19:32 +0000)
committererg <devnull@localhost>
Sun, 29 Aug 2010 19:32:42 +0000 (19:32 +0000)
add include file to get declaration of xml_string

cmd/smyrna/draw.c

index 53d59e5bfee3d0b01bb5f6c28a57eba11b764b7d..3c0bf54c425c5d7a4d2b32c198b4689304765f8e 100755 (executable)
@@ -22,6 +22,7 @@ XDOT DRAWING FUNCTIONS, maybe need to move them somewhere else
 #include "draw.h"
 /* #include "topview.h" */
 #include "colorprocs.h"
+#include "smyrna_utils.h"
 #include "glutils.h"
 #include "math.h"
 
@@ -208,10 +209,10 @@ static void relocate_spline(sdot_op * sop, int param)
 
 static void DrawBeziers(sdot_op* o, int param)
 {
-    GLfloat tempX[4];
-    GLfloat tempY[4];
-    GLfloat tempZ[4];
-    int temp = 0;
+    /* GLfloat tempX[4]; */
+    /* GLfloat tempY[4]; */
+    /* GLfloat tempZ[4]; */
+    /* int temp = 0; */
     int filled;
     int i = 0;
     xdot_op *  op=&o->op;