r19591 by jghali - #12778, patch 02/17: fix a series of warnings from clang

scribus-commit scribus-commit at lists.scribus.net
Fri Oct 17 22:12:19 UTC 2014


Author: jghali
Date: Fri Oct 17 22:12:19 2014
New Revision: 19591

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19591
Log:
#12778, patch 02/17: fix a series of warnings from clang

Modified:
    trunk/Scribus/scribus/plugins/import/ai/importai.cpp

Modified: trunk/Scribus/scribus/plugins/import/ai/importai.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19591&path=/trunk/Scribus/scribus/plugins/import/ai/importai.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ai/importai.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/ai/importai.cpp Fri Oct 17 22:12:19 2014
@@ -2163,6 +2163,9 @@
 				int ens = cmdLine.lastIndexOf("]");
 				QString nodeVals = cmdLine.mid(ans+1, ens-ans-1);
 				ScTextStream mVals4(&nodeVals, QIODevice::ReadOnly);
+				cVal = 0.0;
+				mVal = 0.0;
+				yVal = 0.0;
 				kVal = 0.0;
 				if (meshColorMode == 0)
 					mVals4 >> cVal >> mVal >> yVal >> kVal >> coorX1 >> coorY1 >> coorX2 >> coorY2 >> dummy >> coorX3 >> coorY3;




More information about the scribus-commit mailing list