aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-04-22 23:59:56 +0000
committerMax Horn2006-04-22 23:59:56 +0000
commitdb747c21000e0b18da0341684de08e67239a6fca (patch)
treea0a503d3a889a9514b94691d584a7b2dddbca72e
parent2952dd123c09d14981eb91cb95fa2c966736d1cf (diff)
downloadscummvm-rg350-db747c21000e0b18da0341684de08e67239a6fca.tar.gz
scummvm-rg350-db747c21000e0b18da0341684de08e67239a6fca.tar.bz2
scummvm-rg350-db747c21000e0b18da0341684de08e67239a6fca.zip
Non-void functions always must return something
svn-id: r22086
-rw-r--r--engines/simon/simon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/simon/simon.h b/engines/simon/simon.h
index c29e8e7b1f..8be62e5306 100644
--- a/engines/simon/simon.h
+++ b/engines/simon/simon.h
@@ -169,6 +169,7 @@ public:
if (_gameDescription->filesDescriptions[i].fileType == type)
return _gameDescription->filesDescriptions[i].fileName;
}
+ error("getFileName: Invalid type %d", type);
}
protected: