From: Matthew Fernandez Date: Wed, 18 Jan 2023 16:33:01 +0000 (-0800) Subject: neatogen: squash a -Wundef warning for 'DEBUG' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1981af4b6b34fc2b01bd7bfe0f1ce141c9360a9d;p=graphviz neatogen: squash a -Wundef warning for 'DEBUG' --- diff --git a/lib/neatogen/stress.c b/lib/neatogen/stress.c index 3f18c8e10..832770d3e 100644 --- a/lib/neatogen/stress.c +++ b/lib/neatogen/stress.c @@ -827,7 +827,7 @@ float *compute_apsp_artifical_weights_packed(vtx_data * graph, int n) return Dij; } -#if DEBUG > 1 +#if defined(DEBUG) && DEBUG > 1 static void dumpMatrix(float *Dij, int n) { int i, j, count = 0;