From: Matthew Fernandez Date: Thu, 8 Sep 2022 03:57:57 +0000 (-0700) Subject: gvpr: squash -Wundef warning for 'DEBUG' X-Git-Tag: 6.0.1~5^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54241380ba9072bd63ab402ef65a86f768e78cc7;p=graphviz gvpr: squash -Wundef warning for 'DEBUG' --- diff --git a/lib/gvpr/compile.c b/lib/gvpr/compile.c index e907c1db9..e6548fc6c 100644 --- a/lib/gvpr/compile.c +++ b/lib/gvpr/compile.c @@ -196,7 +196,7 @@ static int posOf(Agnode_t* np, int idx, double* v) } -#if DEBUG > 1 +#if defined(DEBUG) && DEBUG > 1 static char *symName(Expr_t * ex, int op) { if (op >= MINNAME && op <= MAXNAME)