mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
KA10: Clean up coverity error.
This commit is contained in:
parent
af6665be05
commit
3d3675edbc
@ -2934,7 +2934,8 @@ int Mem_read_byte(int n, uint16 *data, int byte) {
|
||||
need -= 16;
|
||||
else
|
||||
need -= 8;
|
||||
*data |= val << need;
|
||||
if (need >= 0)
|
||||
*data |= val << need;
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user