INPparseNumMod(), #10/14, don't fall through into the 'default:'

instead, duplicate the code of the 'default:' and break
This commit is contained in:
rlar 2016-07-10 17:29:03 +02:00
parent 6b305744d9
commit 521fd16c11
1 changed files with 3 additions and 1 deletions

View File

@ -376,7 +376,9 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
}
cardType = lastType;
while (*line == '+') line++; /* Skip leading '+'s */
/* FALL THRU when continuing a card */
lastType = cardType;
// cardType is not used downwards from here
break;
default:
lastType = cardType;
// cardType is not used downwards from here