mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
3b2: Coverity issue cleanup
This commit is contained in:
committed by
Mark Pizzolato
parent
690c30b6f4
commit
df54c87bf7
@@ -334,7 +334,7 @@ t_stat nvram_detach(UNIT *uptr)
|
||||
uint32 nvram_read(uint32 pa, size_t size)
|
||||
{
|
||||
uint32 offset = pa - NVRAMBASE;
|
||||
uint32 data;
|
||||
uint32 data = 0;
|
||||
uint32 sc = (~(offset & 3) << 3) & 0x1f;
|
||||
|
||||
switch(size) {
|
||||
|
||||
Reference in New Issue
Block a user