[Scummvm-cvs-logs] SF.net SVN: scummvm: [22086] scummvm/trunk/engines/simon/simon.h

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Apr 22 17:01:03 CEST 2006


Revision: 22086
Author:   fingolfin
Date:     2006-04-22 16:59:56 -0700 (Sat, 22 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22086&view=rev

Log Message:
-----------
Non-void functions always must return something

Modified Paths:
--------------
    scummvm/trunk/engines/simon/simon.h
Modified: scummvm/trunk/engines/simon/simon.h
===================================================================
--- scummvm/trunk/engines/simon/simon.h	2006-04-22 15:29:38 UTC (rev 22085)
+++ scummvm/trunk/engines/simon/simon.h	2006-04-22 23:59:56 UTC (rev 22086)
@@ -169,6 +169,7 @@
 			if (_gameDescription->filesDescriptions[i].fileType == type)
 				return _gameDescription->filesDescriptions[i].fileName; 
 		}
+		error("getFileName: Invalid type %d", type);
 	}
 
 protected:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list