r18702 by jghali - fix potential use of uninitialized variable

scribus-commit scribus-commit at lists.scribus.net
Thu Jan 9 12:50:24 UTC 2014


Author: jghali
Date: Thu Jan  9 12:50:24 2014
New Revision: 18702

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18702
Log:
fix potential use of uninitialized variable

Modified:
    trunk/Scribus/scribus/main_win32.cpp

Modified: trunk/Scribus/scribus/main_win32.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18702&path=/trunk/Scribus/scribus/main_win32.cpp
==============================================================================
--- trunk/Scribus/scribus/main_win32.cpp (original)
+++ trunk/Scribus/scribus/main_win32.cpp Thu Jan  9 12:50:24 2014
@@ -108,7 +108,7 @@
 */
 int mainApp(ScribusQApp& app)
 {
-	int appRetVal;
+	int appRetVal = 0;
 #ifndef _DEBUG
 	__try
 	{




More information about the scribus-commit mailing list