r20911 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Feb 6 23:34:00 UTC 2016


Author: jghali
Date: Sat Feb  6 23:33:59 2016
New Revision: 20911

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

Modified:
    trunk/Scribus/scribus/scdocoutput_ps2.cpp
    trunk/Scribus/scribus/scdocoutput_ps2.h

Modified: trunk/Scribus/scribus/scdocoutput_ps2.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20911&path=/trunk/Scribus/scribus/scdocoutput_ps2.cpp
==============================================================================
--- trunk/Scribus/scribus/scdocoutput_ps2.cpp	(original)
+++ trunk/Scribus/scribus/scdocoutput_ps2.cpp	Sat Feb  6 23:33:59 2016
@@ -23,6 +23,7 @@
 	m_pageNumbers = pageNumbers;
 	m_clip = clip;
 	m_options = options;
+	m_status = 0;
 	m_author = doc->documentInfo().author();
 	m_title  = doc->documentInfo().title();
 	m_creator = QString("Scribus ") + QString(VERSION);

Modified: trunk/Scribus/scribus/scdocoutput_ps2.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20911&path=/trunk/Scribus/scribus/scdocoutput_ps2.h
==============================================================================
--- trunk/Scribus/scribus/scdocoutput_ps2.h	(original)
+++ trunk/Scribus/scribus/scdocoutput_ps2.h	Sat Feb  6 23:33:59 2016
@@ -31,6 +31,7 @@
 	std::vector<int> m_pageNumbers;
 	ScPs2OutputParams m_options;
 
+	int m_status;
 	QString m_lastError;
 
 	QString m_author;




More information about the scribus-commit mailing list