]> granicus.if.org Git - graphviz/commitdiff
suppress unused variable warning
authorellson <devnull@localhost>
Tue, 22 Feb 2005 13:55:25 +0000 (13:55 +0000)
committerellson <devnull@localhost>
Tue, 22 Feb 2005 13:55:25 +0000 (13:55 +0000)
lib/fdpgen/xlayout.c

index 710f0c878608bf25ff57b9e6dff11edd2f3a4459..0dac61553d8c5f5beeb6bc9e66ec89f9cdcc1394 100644 (file)
@@ -247,7 +247,9 @@ doRep(node_t * p, node_t * q, double xdelta, double ydelta, double dist2)
     int ov;
     double force;
     /* double dout, din; */
+#if defined(MS) || defined(ALT)
     double dist;
+#endif
     /* double factor; */
 
     while (dist2 == 0.0) {