Code to suppress a spurious warning of a non-existent parameter,
missed from e858ca9465.
This commit is contained in:
parent
73f5dc65fb
commit
af9b2bd539
|
|
@ -198,6 +198,8 @@ char *MIFgetMod(
|
||||||
num_pars = *device->numModelParms;
|
num_pars = *device->numModelParms;
|
||||||
while (*line != '\0') {
|
while (*line != '\0') {
|
||||||
INPgetTok(&line, &parm, 1);
|
INPgetTok(&line, &parm, 1);
|
||||||
|
if (!parm || !*parm) // May be closing ')'.
|
||||||
|
break;
|
||||||
for (j = 0; j < num_pars; j++) {
|
for (j = 0; j < num_pars; j++) {
|
||||||
if (strcmp(parm, device->modelParms[j].keyword) == 0) {
|
if (strcmp(parm, device->modelParms[j].keyword) == 0) {
|
||||||
err1 = NULL;
|
err1 = NULL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue