r21716 by craig - Fix Coverity issue #1396762: Remove unused uninitialised variables

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 8 17:08:35 UTC 2017


Author: craig
Date: Sun Jan  8 17:08:35 2017
New Revision: 21716

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21716
Log:
Fix Coverity issue #1396762: Remove unused uninitialised variables

Modified:
    trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp
    trunk/Scribus/scribus/ui/propertywidget_hyphenation.h

Modified: trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21716&path=/trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp	Sun Jan  8 17:08:35 2017
@@ -18,6 +18,7 @@
 {
 	m_item = NULL;
 	m_ScMW = NULL;
+
 	setupUi(this);
 
 	setFrameStyle(QFrame::Box | QFrame::Plain);

Modified: trunk/Scribus/scribus/ui/propertywidget_hyphenation.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21716&path=/trunk/Scribus/scribus/ui/propertywidget_hyphenation.h
==============================================================================
--- trunk/Scribus/scribus/ui/propertywidget_hyphenation.h	(original)
+++ trunk/Scribus/scribus/ui/propertywidget_hyphenation.h	Sun Jan  8 17:08:35 2017
@@ -29,8 +29,6 @@
 	void disconnectSignals();
 	PageItem* m_item;
 	ScribusMainWindow* m_ScMW;
-	double m_unitRatio;
-	int m_unitIndex;
 
 	void configureWidgets(void);
 	void setCurrentItem(PageItem *item);




More information about the scribus-commit mailing list