SCP: Fix Coverity issue
This commit is contained in:
parent
c004fcc2ba
commit
dea084a908
1 changed files with 1 additions and 1 deletions
2
scp.c
2
scp.c
|
@ -15759,7 +15759,7 @@ while (t->function_name) {
|
|||
}
|
||||
input = remainder;
|
||||
++d;
|
||||
if (((input == NULL) || (*input != '\0')) && (d->expected_result == NULL))
|
||||
if ((*input != '\0') && (d->expected_result == NULL))
|
||||
return sim_messagef (SCPE_IERR, "Invalid test configuration detected\n");
|
||||
}
|
||||
++t;
|
||||
|
|
Loading…
Add table
Reference in a new issue