Code to suppress a spurious warning of a non-existent parameter,

missed from e858ca9465.
This commit is contained in:
Giles Atkinson 2025-02-08 15:28:20 +00:00
parent 73f5dc65fb
commit af9b2bd539
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ char *MIFgetMod(
num_pars = *device->numModelParms;
while (*line != '\0') {
INPgetTok(&line, &parm, 1);
if (!parm || !*parm) // May be closing ')'.
break;
for (j = 0; j < num_pars; j++) {
if (strcmp(parm, device->modelParms[j].keyword) == 0) {
err1 = NULL;