From db747c21000e0b18da0341684de08e67239a6fca Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 22 Apr 2006 23:59:56 +0000 Subject: Non-void functions always must return something svn-id: r22086 --- engines/simon/simon.h | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3