]> granicus.if.org Git - graphviz/commitdiff
fdpgen: squash -Wdebug warning when building without 'DEBUG' defined
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 23 Nov 2022 04:38:39 +0000 (20:38 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 23 Nov 2022 04:38:39 +0000 (20:38 -0800)
lib/fdpgen/clusteredges.c

index 7cf1596920cffe8e04d34ba3f5beaa1c1f380428..1313c579b8c2f07a6382624f948bac0fd333e1ff 100644 (file)
@@ -40,7 +40,7 @@ typedef struct {
  */
 #define INIT_SZ 100
 
-#if DEBUG > 1
+#if defined(DEBUG) && DEBUG > 1
 static void dumpObj(Ppoly_t * p)
 {
     int j;