r23732 by jghali - Fix coverity 1357096: Uninitialized pointer field

scribus-commit scribus-commit at lists.scribus.net
Sun May 10 13:11:04 UTC 2020


Author: jghali
Date: Sun May 10 13:11:04 2020
New Revision: 23732

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23732
Log:
Fix coverity 1357096: Uninitialized pointer field

Modified:
    trunk/Scribus/scribus/ui/propertiespalette_shape.h

Modified: trunk/Scribus/scribus/ui/propertiespalette_shape.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23732&path=/trunk/Scribus/scribus/ui/propertiespalette_shape.h
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_shape.h	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_shape.h	Sun May 10 13:11:04 2020
@@ -47,14 +47,13 @@
 	PageItem *m_item {nullptr};
 	ScGuardedPtr<ScribusDoc> m_doc;
 
-	Selection* m_tmpSelection;
+	Selection* m_tmpSelection {nullptr};
 
 private:
-
 	PageItem* currentItemFromSelection();
 
 protected:
-	ScribusMainWindow *m_ScMW;
+	ScribusMainWindow *m_ScMW {nullptr};
 	
 	void enableCustomShape();
 	void enableEditShape();




More information about the scribus-commit mailing list