aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorKari Salminen2008-10-22 20:29:17 +0000
committerKari Salminen2008-10-22 20:29:17 +0000
commit4d4042df36e316196269df98ed408186a945b803 (patch)
treeeda0a97bb65bb0c14f790adc6aa2cb846914182a /engines
parentb9709b579357ad876cb63481f28634390808f579 (diff)
downloadscummvm-rg350-4d4042df36e316196269df98ed408186a945b803.tar.gz
scummvm-rg350-4d4042df36e316196269df98ed408186a945b803.tar.bz2
scummvm-rg350-4d4042df36e316196269df98ed408186a945b803.zip
Shut up MSVC and add FIXMEs to Sword's listSaves and ThemeEngine's loadThemeXML.
svn-id: r34839
Diffstat (limited to 'engines')
-rw-r--r--engines/sword1/sword1.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index 70b528c437..9c0ee05f67 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -208,8 +208,10 @@ SaveStateList SwordMetaEngine::listSaves(const char *target) const {
Common::InSaveFile *in = saveFileMan->openForLoading("SAVEGAME.INF");
if (in) {
- uint8 stop;
+ // FIXME: Is it ok to initialize the stop-variable to zero?
+ uint8 stop = 0;
char saveDesc[32];
+ // FIXME: What about if file-iterator goes beyond end before stop == 255 || in->eos()?
do {
if (file->compareToIgnoreCase("SAVEGAME.INF") == 0) {
file++;