r20730 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 26 23:58:45 UTC 2016


Author: jghali
Date: Tue Jan 26 23:58:45 2016
New Revision: 20730

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20730
Log:
fix uninitialized pointer field <coverity>

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

Modified: trunk/Scribus/scribus/ui/propertiespalette_image.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20730&path=/trunk/Scribus/scribus/ui/propertiespalette_image.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_image.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_image.cpp	Tue Jan 26 23:58:45 2016
@@ -33,7 +33,9 @@
 	m_doc  = 0;
 	m_haveDoc    = false;
 	m_haveItem   = false;
+	m_item       = 0;
 	m_unitRatio  = 1.0;
+	m_unitIndex  = 0;
 
 	m_userActionOn    = false;
 	userActionSniffer = new UserActionSniffer(this);




More information about the scribus-commit mailing list