]> granicus.if.org Git - graphviz/commitdiff
Fix uninitialized variable.
authorerg <devnull@localhost>
Thu, 25 Jun 2009 21:42:14 +0000 (21:42 +0000)
committererg <devnull@localhost>
Thu, 25 Jun 2009 21:42:14 +0000 (21:42 +0000)
cmd/smyrna/gui/menucallbacks.c

index ea90298aeba9fa39eb5905adb469c225e752c4e0..85ec9d3230f9f2370bd52b6904919886fd828147 100755 (executable)
@@ -523,6 +523,7 @@ void mTestgvpr(GtkWidget * widget, gpointer user_data)
 
     argc = inargc + 1;
 #else
+    argc = 1;
     if (*args != '\0') argc += 2;
 #endif
     if (*bf2 != '\0') argc++;