Merge pull request #800 from fabiangreffrath/issue794

p_saveg.c: initialize result in saveg_read8()
This commit is contained in:
Simon Howard 2016-11-08 11:59:35 -05:00 committed by GitHub
commit dc2d1d6229

View file

@ -77,7 +77,7 @@ char *P_SaveGameFile(int slot)
static byte saveg_read8(void)
{
byte result;
byte result = -1;
if (fread(&result, 1, 1, save_stream) < 1)
{