SCP: Fix register examine broken by prior Coverity fix.
This commit is contained in:
parent
f94c8b259a
commit
415b2ef1bc
1 changed files with 1 additions and 1 deletions
2
scp.c
2
scp.c
|
@ -7228,7 +7228,7 @@ for (rptr = lowr; rptr <= highr; rptr++) {
|
||||||
for (idx = lows; idx <= highs; idx++) {
|
for (idx = lows; idx <= highs; idx++) {
|
||||||
if (idx >= rptr->depth)
|
if (idx >= rptr->depth)
|
||||||
return SCPE_SUB;
|
return SCPE_SUB;
|
||||||
sim_eval[0] = get_rval (rptr, idx);
|
sim_eval[0] = val = get_rval (rptr, idx);
|
||||||
sim_switches = saved_switches;
|
sim_switches = saved_switches;
|
||||||
if (schptr && !test_search (sim_eval, schptr))
|
if (schptr && !test_search (sim_eval, schptr))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue