]> granicus.if.org Git - graphviz/commitdiff
Make sure n_clbls is initialized
authorEmden Gansner <erg@research.att.com>
Mon, 9 Jan 2012 22:39:11 +0000 (17:39 -0500)
committerEmden Gansner <erg@research.att.com>
Mon, 9 Jan 2012 22:39:11 +0000 (17:39 -0500)
lib/common/postproc.c

index ac211287decec6bdad87262b745ba5efa508f8d9..65fc35f009a51a4f73d36e902691f1950a809025 100644 (file)
@@ -408,7 +408,7 @@ static void addXLabels(Agraph_t * gp)
     int n_nlbls = 0;           /* # of unset node xlabels */
     int n_elbls = 0;           /* # of unset edge labels or xlabels */
     int n_set_lbls = 0;                /* # of set xlabels and edge labels */
-    int n_clbls;               /* # of set cluster labels */
+    int n_clbls = 0;           /* # of set cluster labels */
     boxf bb;
     pointf ur;
     textlabel_t* lp;