r20943 by craig -

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 9 14:32:37 UTC 2016


Author: craig
Date: Tue Feb  9 14:32:37 2016
New Revision: 20943

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20943
Log:
coverity #1350460: Uninitialised pointer field

Modified:
    trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/pathalongpath.cpp

Modified: trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/pathalongpath.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20943&path=/trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/pathalongpath.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/pathalongpath.cpp	(original)
+++ trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/pathalongpath.cpp	Tue Feb  9 14:32:37 2016
@@ -54,7 +54,23 @@
 	delete plug;
 }
 
-PathAlongPathPlugin::PathAlongPathPlugin() : ScActionPlugin()
+PathAlongPathPlugin::PathAlongPathPlugin() : ScActionPlugin(),
+	patternItem(0),
+	pathItem(0),
+	originalRot(0.0),
+	originalXPos(0.0),
+	originalYPos(0.0),
+	m_doc(0),
+	firstUpdate(false),
+	m_scaling(0.0),
+	nbCopies(0),
+	pattWidth(0.0),
+	m_offsetX(0.0),
+	m_offsetY(0.0),
+	m_gapval(0.0),
+	m_rotate(0),
+	selOffs(0),
+	selCount(0)
 {
 	// Set action info in languageChange, so we only have to do
 	// it in one place.




More information about the scribus-commit mailing list