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:
parent
33882cb0d7
commit
c544c137f5
|
@ -402,12 +402,12 @@ MovieData::MovieData()
|
||||||
, fds(false)
|
, fds(false)
|
||||||
, palFlag(false)
|
, palFlag(false)
|
||||||
, PPUflag(false)
|
, PPUflag(false)
|
||||||
, RAMInitOption(0)
|
|
||||||
, RAMInitSeed(0)
|
|
||||||
, rerecordCount(0)
|
, rerecordCount(0)
|
||||||
, binaryFlag(false)
|
, binaryFlag(false)
|
||||||
, loadFrameCount(-1)
|
, loadFrameCount(-1)
|
||||||
, microphone(false)
|
, microphone(false)
|
||||||
|
, RAMInitOption(0)
|
||||||
|
, RAMInitSeed(0)
|
||||||
{
|
{
|
||||||
memset(&romChecksum,0,sizeof(MD5DATA));
|
memset(&romChecksum,0,sizeof(MD5DATA));
|
||||||
}
|
}
|
||||||
|
@ -735,6 +735,9 @@ bool LoadFM2(MovieData& movieData, EMUFILE* fp, int size, bool stopAfterHeader)
|
||||||
state = VALUE;
|
state = VALUE;
|
||||||
if(isnewline) goto commit;
|
if(isnewline) goto commit;
|
||||||
value += c;
|
value += c;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue