From 54241380ba9072bd63ab402ef65a86f768e78cc7 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 7 Sep 2022 20:57:57 -0700 Subject: [PATCH] gvpr: squash -Wundef warning for 'DEBUG' --- lib/gvpr/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0