1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-26 04:02:39 +00:00

SCP: Minor Coverity cleanup

This commit is contained in:
Mark Pizzolato
2017-03-30 07:55:13 -07:00
parent c97f466457
commit 773cc1c319
2 changed files with 5 additions and 6 deletions

View File

@@ -3234,8 +3234,7 @@ int Return = 0;
VHD_Footer sHeader;
struct stat statb;
if (sFooter)
memset(sFooter, '\0', sizeof(*sFooter));
memset(sFooter, '\0', sizeof(*sFooter));
if (sDynamic)
memset(sDynamic, '\0', sizeof(*sDynamic));
if (aBAT)