1
0
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:
Seth Morabito
2017-11-24 18:59:30 -08:00
committed by Mark Pizzolato
parent 690c30b6f4
commit df54c87bf7
3 changed files with 4 additions and 9 deletions

View File

@@ -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) {