diff options
author | Torbjörn Andersson | 2007-05-22 16:11:30 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-05-22 16:11:30 +0000 |
commit | b17e8f569ff6942494d3d55ff908a2a7ca837fac (patch) | |
tree | 588dcaec07b115677ef1c942afdd7b2d19a391f0 /engines/agos | |
parent | 91be2f19cc1b8be80154651ee27339d71db3dbc6 (diff) | |
download | scummvm-rg350-b17e8f569ff6942494d3d55ff908a2a7ca837fac.tar.gz scummvm-rg350-b17e8f569ff6942494d3d55ff908a2a7ca837fac.tar.bz2 scummvm-rg350-b17e8f569ff6942494d3d55ff908a2a7ca837fac.zip |
Silenced a rather paranoid GCC warning.
svn-id: r26924
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/saveload.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp index bd9efcc81c..de3a0f416a 100644 --- a/engines/agos/saveload.cpp +++ b/engines/agos/saveload.cpp @@ -166,7 +166,7 @@ void AGOSEngine::listSaveGames(char *dst) { window->textColumn = 0; window->textColumnOffset = 4; window->textLength = 0; - if (in = _saveFileMan->openForLoading(genSaveName(slot++))) { + if ((in = _saveFileMan->openForLoading(genSaveName(slot++)))) { in->read(dst, 8); delete in; @@ -181,7 +181,7 @@ void AGOSEngine::listSaveGames(char *dst) { window->textColumn = 7; window->textColumnOffset = 4; window->textLength = 0; - if (in = _saveFileMan->openForLoading(genSaveName(slot++))) { + if ((in = _saveFileMan->openForLoading(genSaveName(slot++)))) { in->read(dst, 8); delete in; @@ -196,7 +196,7 @@ void AGOSEngine::listSaveGames(char *dst) { window->textColumn = 15; window->textColumnOffset = 4; window->textLength = 0; - if (in = _saveFileMan->openForLoading(genSaveName(slot++))) { + if ((in = _saveFileMan->openForLoading(genSaveName(slot++)))) { in->read(dst, 8); delete in; |