r20888 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 2 21:59:41 UTC 2016


Author: jghali
Date: Tue Feb  2 21:59:40 2016
New Revision: 20888

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20888
Log:
coverity #1350737: uninitialized pointer field

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

Modified: trunk/Scribus/scribus/ui/propertiespalette_shadow.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20888&path=/trunk/Scribus/scribus/ui/propertiespalette_shadow.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_shadow.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_shadow.cpp	Tue Feb  2 21:59:40 2016
@@ -29,8 +29,10 @@
 {
 	m_ScMW = 0;
 	m_doc = 0;
+	m_item = 0;
 	m_haveDoc  = false;
 	m_haveItem = false;
+	m_unitIndex = 0;
 	m_unitRatio = 1.0;
 	hasSoftShadow = new PropTreeItem(this, PropTreeItem::CheckBox, tr( "Has Drop Shadow"));
 	hasSoftShadow->setBoolValue(false);




More information about the scribus-commit mailing list