INPparseNumMod(), #8/14, move the 'default:' body out of the 'switch'
this body is inevitable, as there is no other break out of the 'switch'
This commit is contained in:
parent
1a9bcf6b33
commit
1483e2df9a
|
|
@ -381,6 +381,9 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
|
|||
default:
|
||||
lastType = cardType;
|
||||
// cardType is not used downwards from here
|
||||
break;
|
||||
}
|
||||
|
||||
if (lastType == E_MISSING) {
|
||||
/* new command card */
|
||||
if (cardName) FREE(cardName); /* get rid of old card name */
|
||||
|
|
@ -452,8 +455,6 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
|
|||
FREE(parm);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
*errMessage = err;
|
||||
return( 0 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue