From ecbfca108435bfc08a2c24cc3b3c822f02163b3a Mon Sep 17 00:00:00 2001 From: harry Date: Sun, 9 Jun 2024 09:34:08 -0400 Subject: [PATCH] Minor gcc/clang compiler warning fix. --- src/movie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/movie.cpp b/src/movie.cpp index 53e324fc..0778f2a3 100644 --- a/src/movie.cpp +++ b/src/movie.cpp @@ -247,7 +247,7 @@ void MovieRecord::dumpJoy(EMUFILE* os, uint8 joystate) void MovieRecord::parseJoy(EMUFILE* is, uint8& joystate) { - char buf[8]; + char buf[8] = {0}; is->fread(buf,8); joystate = 0; for(int i=0;i<8;i++)