r20945 by craig -

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 9 14:43:20 UTC 2016


Author: craig
Date: Tue Feb  9 14:43:20 2016
New Revision: 20945

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20945
Log:
coverity #1350748: Unitiliazed pointer field

Modified:
    trunk/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp

Modified: trunk/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20945&path=/trunk/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp	(original)
+++ trunk/Scribus/scribus/plugins/tools/pathconnect/pathconnect.cpp	Tue Feb  9 14:43:20 2016
@@ -50,7 +50,13 @@
 	delete plug;
 }
 
-PathConnectPlugin::PathConnectPlugin() : ScActionPlugin()
+PathConnectPlugin::PathConnectPlugin() : ScActionPlugin(),
+	m_item1(0),
+	m_item2(0),
+	m_doc(0),
+	originalXPos(0.0),
+	originalYPos(0.0),
+	firstUpdate(false)
 {
 	// Set action info in languageChange, so we only have to do
 	// it in one place.




More information about the scribus-commit mailing list