From 4d4042df36e316196269df98ed408186a945b803 Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Wed, 22 Oct 2008 20:29:17 +0000 Subject: Shut up MSVC and add FIXMEs to Sword's listSaves and ThemeEngine's loadThemeXML. svn-id: r34839 --- engines/sword1/sword1.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines') 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++; -- cgit v1.2.3