]> granicus.if.org Git - graphviz/commitdiff
squash -Wempty-body warnings from expanding trace() inside a conditional body
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 7 Sep 2020 23:51:02 +0000 (16:51 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 14 Sep 2020 03:51:15 +0000 (20:51 -0700)
lib/expr/extoken.c

index 8a6baa56824b331316abc75d65dfa7fa8f509067..2b748592c352e8ed7893fceb9acd58836926e2c6 100644 (file)
@@ -253,7 +253,7 @@ extoken_fn(Expr_t* ex)
 
 #else
 
-#define trace(p,a,b,c)
+#define trace(p,a,b,c) do { } while (0)
 
 #endif