From: Matthew Fernandez Date: Sat, 24 Apr 2021 03:18:30 +0000 (-0700) Subject: squash a -Wmaybe-uninitiailzed warning X-Git-Tag: 2.47.2~13^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a70fb82b3420cabeae6bdcd637e8b6a4f0637a3d;p=graphviz squash a -Wmaybe-uninitiailzed warning This was a false positive because all use of the variable is guarded by the Concentrate flag, but it is still worth pacifying the compiler here. --- diff --git a/lib/ortho/ortho.c b/lib/ortho/ortho.c index 463b7b776..dff7eebe3 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -1260,7 +1260,7 @@ orthoEdges (Agraph_t* g, int doLbls) epair_t* es = N_GNEW(agnedges(g), epair_t); cell* start; cell* dest; - PointSet* ps; + PointSet* ps = NULL; textlabel_t* lbl; if (Concentrate)