mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
CalmaWriteZ.c: warning: variable 'rtype' is used uninitialized
CalmaWriteZ.c:418: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
fca0c2945d
commit
60e78f4ab4
+1
-1
@@ -406,7 +406,7 @@ calmaDumpStructureZ(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