Compiler warning cleanup for movie.cpp. Reordered initializer in constructor to match the order in which they are declared. Gave case statement a default for unhandled enum values.

This commit is contained in:
mjbudd77 2021-02-22 07:21:14 -05:00
parent 33882cb0d7
commit c544c137f5
1 changed files with 5 additions and 2 deletions

View File

@ -402,12 +402,12 @@ MovieData::MovieData()
, fds(false)
, palFlag(false)
, PPUflag(false)
, RAMInitOption(0)
, RAMInitSeed(0)
, rerecordCount(0)
, binaryFlag(false)
, loadFrameCount(-1)
, microphone(false)
, RAMInitOption(0)
, RAMInitSeed(0)
{
memset(&romChecksum,0,sizeof(MD5DATA));
}
@ -735,6 +735,9 @@ bool LoadFM2(MovieData& movieData, EMUFILE* fp, int size, bool stopAfterHeader)
state = VALUE;
if(isnewline) goto commit;
value += c;
break;
default:
break;
}
goto done;