Merge pull request #800 from fabiangreffrath/issue794
p_saveg.c: initialize result in saveg_read8()
This commit is contained in:
commit
dc2d1d6229
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue