SCP: Fix Coverity issue

This commit is contained in:
Mark Pizzolato 2021-04-11 15:54:11 -07:00
parent c004fcc2ba
commit dea084a908

2
scp.c
View file

@ -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;