[Scummvm-cvs-logs] SF.net SVN: scummvm:[34236] scummvm/trunk/engines/tinsel/inventory.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Sep 1 12:09:52 CEST 2008


Revision: 34236
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34236&view=rev
Author:   thebluegr
Date:     2008-09-01 10:09:48 +0000 (Mon, 01 Sep 2008)

Log Message:
-----------
Silence MSVC warning about potentially uninitialized variable

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/inventory.cpp

Modified: scummvm/trunk/engines/tinsel/inventory.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/inventory.cpp	2008-09-01 10:07:48 UTC (rev 34235)
+++ scummvm/trunk/engines/tinsel/inventory.cpp	2008-09-01 10:09:48 UTC (rev 34236)
@@ -772,7 +772,7 @@
 
 
 bool LanguageChange(void) {
-	LANGUAGE nLang;
+	LANGUAGE nLang = TXT_ENGLISH;
 
 	if (_vm->getFeatures() & GF_USE_3FLAGS) {
 		// VERY quick dodgy bodge


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