mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 14:17:43 +02:00
CalmaWrite.c: warning: variable 'rtype' is used uninitialized
CalmaWrite.c:442:5: warning: variable 'rtype' is used uninitialized whenever 'if' condition is true clang18 -Wall warning cleanup [-Wsometimes-uninitialized]
This commit is contained in:
committed by
Tim Edwards
parent
fece689c43
commit
fca0c2945d
+1
-1
@@ -430,7 +430,7 @@ calmaDumpStructure(def, outf, calmaDefHash, filename)
|
||||
HashTable *calmaDefHash;
|
||||
char *filename;
|
||||
{
|
||||
int nbytes, rtype;
|
||||
int nbytes = -1, rtype = 0;
|
||||
char *strname = NULL, *newnameptr;
|
||||
HashEntry *he, *he2;
|
||||
CellDef *edef;
|
||||
|
||||
Reference in New Issue
Block a user