DRCcif.c: 'thislayer' is used uninitialized
DRCcif.c:1193:17: warning: variable 'thislayer' is used uninitialized whenever 'for' loop exits because its condition is false DRCcif.c:1255:17: warning: variable 'thislayer' is used uninitialized whenever 'for' loop exits because its condition is false clang18 -Wall warning cleanup [-Wsometimes-uninitialized]
This commit is contained in:
parent
489de7fdb4
commit
cbf97f77ee
|
|
@ -1184,7 +1184,7 @@ drcCifArea(argc, argv)
|
|||
DRCCookie *dpnext, *dpnew;
|
||||
TileType i, j;
|
||||
int plane;
|
||||
int thislayer;
|
||||
int thislayer = -1;
|
||||
int scalefactor;
|
||||
|
||||
if (drcCifStyle == NULL)
|
||||
|
|
@ -1246,7 +1246,7 @@ drcCifMaxwidth(argc, argv)
|
|||
TileType i, j;
|
||||
int plane;
|
||||
int bend;
|
||||
int thislayer;
|
||||
int thislayer = -1;
|
||||
int scalefactor;
|
||||
|
||||
if (drcCifStyle == NULL)
|
||||
|
|
|
|||
Loading…
Reference in New Issue