Minor gcc/clang compiler warning fix.

This commit is contained in:
harry 2024-06-09 09:34:08 -04:00
parent c919de08b2
commit ecbfca1084
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ void MovieRecord::dumpJoy(EMUFILE* os, uint8 joystate)
void MovieRecord::parseJoy(EMUFILE* is, uint8& joystate) void MovieRecord::parseJoy(EMUFILE* is, uint8& joystate)
{ {
char buf[8]; char buf[8] = {0};
is->fread(buf,8); is->fread(buf,8);
joystate = 0; joystate = 0;
for(int i=0;i<8;i++) for(int i=0;i<8;i++)