r18703 by jghali - fix potential use of uninitialized variable

scribus-commit scribus-commit at lists.scribus.net
Thu Jan 9 12:51:00 UTC 2014


Author: jghali
Date: Thu Jan  9 12:51:00 2014
New Revision: 18703

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

Modified:
    branches/Version14x/Scribus/scribus/main_win32.cpp

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




More information about the scribus-commit mailing list