gaMain.c: warning: variable 'errs' is used uninitialized

gaMain.c:287:9: warning: variable 'errs' is used uninitialized whenever 'if' condition is true

clang18 -Wall warning cleanup [-Wsometimes-uninitialized]
This commit is contained in:
Darryl L. Miles
2024-10-09 21:34:12 -04:00
committed by Tim Edwards
parent 7fd116c828
commit 38c14a0ad9
+1 -1
View File
@@ -262,7 +262,7 @@ GARouteCmd(routeUse, netListName)
CellUse *routeUse;
char *netListName;
{
int errs;
int errs = -1;
NLNetList netList;
GCRChannel *ch;
NLNet *net;