r20774 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 15:24:47 UTC 2016


Author: jghali
Date: Sat Jan 30 15:24:47 2016
New Revision: 20774

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20774
Log:
coverity #1350675, uninitialized scalar field

Modified:
    trunk/Scribus/scribus/ui/gradientpreview.cpp

Modified: trunk/Scribus/scribus/ui/gradientpreview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20774&path=/trunk/Scribus/scribus/ui/gradientpreview.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/gradientpreview.cpp	(original)
+++ trunk/Scribus/scribus/ui/gradientpreview.cpp	Sat Jan 30 15:24:47 2016
@@ -62,6 +62,7 @@
 
 	QList<VColorStop*> cstops = fill_gradient.colorStops();
 	StopM.clear();
+	contextStop = 0;
 	ActStop = 0;
 	for (uint a = 0; a < fill_gradient.Stops(); ++a)
 	{




More information about the scribus-commit mailing list