mirror of
https://github.com/simh/simh.git
synced 2026-01-14 07:39:29 +00:00
SCP: Fix register examine broken by prior Coverity fix.
This commit is contained in:
parent
f94c8b259a
commit
415b2ef1bc
2
scp.c
2
scp.c
@ -7228,7 +7228,7 @@ for (rptr = lowr; rptr <= highr; rptr++) {
|
||||
for (idx = lows; idx <= highs; idx++) {
|
||||
if (idx >= rptr->depth)
|
||||
return SCPE_SUB;
|
||||
sim_eval[0] = get_rval (rptr, idx);
|
||||
sim_eval[0] = val = get_rval (rptr, idx);
|
||||
sim_switches = saved_switches;
|
||||
if (schptr && !test_search (sim_eval, schptr))
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user