[Scummvm-cvs-logs] SF.net SVN: scummvm: [30574] scummvm/trunk/engines/lure/surface.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sat Jan 19 21:53:29 CET 2008


Revision: 30574
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30574&view=rev
Author:   aquadran
Date:     2008-01-19 12:53:28 -0800 (Sat, 19 Jan 2008)

Log Message:
-----------
fixed potential unitialized variable

Modified Paths:
--------------
    scummvm/trunk/engines/lure/surface.cpp

Modified: scummvm/trunk/engines/lure/surface.cpp
===================================================================
--- scummvm/trunk/engines/lure/surface.cpp	2008-01-19 20:50:58 UTC (rev 30573)
+++ scummvm/trunk/engines/lure/surface.cpp	2008-01-19 20:53:28 UTC (rev 30574)
@@ -987,7 +987,7 @@
 				if (events.type() == Common::EVENT_MOUSEMOVE || 
 					events.type() == Common::EVENT_WHEELUP || events.type() == Common::EVENT_WHEELDOWN) {
 					// Mouse movement
-					int lineNum;
+					int lineNum = 0;
 
 					if (events.type() == Common::EVENT_MOUSEMOVE) {
 						if ((mouse.x() < (SAVE_DIALOG_X + Surface::textX())) ||


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