mirror of
https://github.com/simh/simh.git
synced 2026-02-28 01:16:51 +00:00
SCP: Fix Coverity issue
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user