r21974 by craig - Coverity 1374351, 1350686: Fix uninitialised member variables

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 22 16:53:40 UTC 2017


Author: craig
Date: Sat Apr 22 16:53:40 2017
New Revision: 21974

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21974
Log:
Coverity 1374351, 1350686: Fix uninitialised member variables

Modified:
    trunk/Scribus/scribus/loadsaveplugin.cpp

Modified: trunk/Scribus/scribus/loadsaveplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21974&path=/trunk/Scribus/scribus/loadsaveplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/loadsaveplugin.cpp	(original)
+++ trunk/Scribus/scribus/loadsaveplugin.cpp	Sat Apr 22 16:53:40 2017
@@ -475,22 +475,26 @@
 }
 
 FileFormat::FileFormat() :
+	formatId(0),
 	load(false),
 	save(false),
 	thumb(false),
 	colorReading(false),
 	nativeScribus(false),
+	priority(0),
 	plug(0)
 {
 }
 
 FileFormat::FileFormat(LoadSavePlugin* plug) :
+	formatId(0),
 	load(false),
 	save(false),
 	thumb(false),
 	colorReading(false),
 	nativeScribus(false),
-	plug(plug)
+	priority(0),
+	plug(0)
 {
 }
 




More information about the scribus-commit mailing list