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:
parent
7fd116c828
commit
38c14a0ad9
|
|
@ -262,7 +262,7 @@ GARouteCmd(routeUse, netListName)
|
||||||
CellUse *routeUse;
|
CellUse *routeUse;
|
||||||
char *netListName;
|
char *netListName;
|
||||||
{
|
{
|
||||||
int errs;
|
int errs = -1;
|
||||||
NLNetList netList;
|
NLNetList netList;
|
||||||
GCRChannel *ch;
|
GCRChannel *ch;
|
||||||
NLNet *net;
|
NLNet *net;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue