INPparseNumMod(), #4/14, assign 'lastType' sooner
in the block in-between those two positions there is no access to lastType or cardType there is no 'continue' there is no 'break' out of the enclosing 'switch' thus the assignment is inevitable
This commit is contained in:
parent
7862a4f59f
commit
11f3907139
|
|
@ -407,6 +407,7 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
|
|||
}
|
||||
}
|
||||
}
|
||||
lastType = cardType;
|
||||
if (cardType >= 0) { /* parse the rest of this line */
|
||||
while (*line) {
|
||||
/* Strip leading carat from booleans */
|
||||
|
|
@ -450,7 +451,6 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
|
|||
FREE(parm);
|
||||
}
|
||||
}
|
||||
lastType = cardType;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue