r20780 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 15:58:34 UTC 2016


Author: jghali
Date: Sat Jan 30 15:58:34 2016
New Revision: 20780

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

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

Modified: trunk/Scribus/scribus/ui/propertiespalette_line.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20780&path=/trunk/Scribus/scribus/ui/propertiespalette_line.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_line.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_line.cpp	Sat Jan 30 15:58:34 2016
@@ -38,8 +38,10 @@
 	m_doc  = 0;
 	m_haveDoc  = false;
 	m_haveItem = false;
+	m_item     = NULL;
 	m_lineMode = false;
 	m_unitRatio = 1.0;
+	m_unitIndex = 0;
 
 	setupUi(this);
 	setSizePolicy( QSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum));




More information about the scribus-commit mailing list