r20832 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 31 00:39:22 UTC 2016


Author: jghali
Date: Sun Jan 31 00:39:22 2016
New Revision: 20832

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

Modified:
    trunk/Scribus/scribus/desaxe/saxXML.cpp

Modified: trunk/Scribus/scribus/desaxe/saxXML.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20832&path=/trunk/Scribus/scribus/desaxe/saxXML.cpp
==============================================================================
--- trunk/Scribus/scribus/desaxe/saxXML.cpp	(original)
+++ trunk/Scribus/scribus/desaxe/saxXML.cpp	Sun Jan 31 00:39:22 2016
@@ -14,10 +14,10 @@
 using namespace std;
 
 SaxXML::SaxXML(std::ostream& file, bool pretty) : m_stream(file), 
-     m_pretty(pretty), m_indentLevel(0), m_pendingEmptyTag(false) {} 
+     m_pretty(pretty), m_indentLevel(0), m_manyAttributes(false), m_pendingEmptyTag(false) {} 
 
 SaxXML::SaxXML(const char* filename, bool pretty) : m_file(filename, ios::out | ios::binary), m_stream(m_file), 
-     m_pretty(pretty), m_indentLevel(0), m_pendingEmptyTag(false) {}
+     m_pretty(pretty), m_indentLevel(0), m_manyAttributes(false), m_pendingEmptyTag(false) {}
 
 SaxXML::~SaxXML() { m_stream.flush(); m_file.close(); }
 




More information about the scribus-commit mailing list