From: Matthew Fernandez Date: Sun, 6 Jun 2021 02:22:14 +0000 (-0700) Subject: remove an open coded NULL X-Git-Tag: 2.47.3~9^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de6cbe2b7f2691d7a0db4a2bfa9fce9dacf97b79;p=graphviz remove an open coded NULL --- diff --git a/lib/pathplan/visibility.c b/lib/pathplan/visibility.c index 98f6bc2ff..78a810e2a 100644 --- a/lib/pathplan/visibility.c +++ b/lib/pathplan/visibility.c @@ -10,6 +10,7 @@ #include +#include /* TRANSPARENT means router sees past colinear obstacles */ #ifdef TRANSPARENT @@ -38,7 +39,7 @@ static array2 allocArray(int V, int extra) p += V; } for (i = V; i < V + extra; i++) - arr[i] = (COORD *) 0; + arr[i] = NULL; return arr; }