Skip to content

Commit ecbfca1

Browse files
committed
Minor gcc/clang compiler warning fix.
1 parent c919de0 commit ecbfca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/movie.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ void MovieRecord::dumpJoy(EMUFILE* os, uint8 joystate)
247247

248248
void MovieRecord::parseJoy(EMUFILE* is, uint8& joystate)
249249
{
250-
char buf[8];
250+
char buf[8] = {0};
251251
is->fread(buf,8);
252252
joystate = 0;
253253
for(int i=0;i<8;i++)

0 commit comments

Comments
 (0)