r20989 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Feb 12 00:24:12 UTC 2016


Author: jghali
Date: Fri Feb 12 00:24:11 2016
New Revision: 20989

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

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

Modified: trunk/Scribus/scribus/ui/newmarginwidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20989&path=/trunk/Scribus/scribus/ui/newmarginwidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/newmarginwidget.cpp	(original)
+++ trunk/Scribus/scribus/ui/newmarginwidget.cpp	Fri Feb 12 00:24:11 2016
@@ -19,8 +19,12 @@
 {
 	setupUi(this);
 
+	m_unitIndex = 0;
+	m_unitRatio = 1.0;
+
 	pageWidth  = 0;
 	pageHeight = 0;
+	pageType = 0;
 }
 
 NewMarginWidget::~NewMarginWidget()




More information about the scribus-commit mailing list