r20841 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 31 01:26:10 UTC 2016


Author: jghali
Date: Sun Jan 31 01:26:10 2016
New Revision: 20841

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

Modified:
    trunk/Scribus/scribus/notesstyles.h

Modified: trunk/Scribus/scribus/notesstyles.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20841&path=/trunk/Scribus/scribus/notesstyles.h
==============================================================================
--- trunk/Scribus/scribus/notesstyles.h	(original)
+++ trunk/Scribus/scribus/notesstyles.h	Sun Jan 31 01:26:10 2016
@@ -95,7 +95,7 @@
 
 private:
 	//only ScribusDoc can create and delete notes
-	TextNote(NotesStyle *nStyle) : m_notesStyle(nStyle), m_noteSaxedText(""), m_noteMasterMark(NULL), m_noteFrameMark(NULL), m_number(0) { }
+	TextNote(NotesStyle *nStyle) : textLen(0), m_notesStyle(nStyle), m_noteSaxedText(""), m_noteMasterMark(NULL), m_noteFrameMark(NULL), m_number(0) { }
 	~TextNote() {}
 public:
 	void setNotesStyle (NotesStyle* ns) { m_notesStyle = ns; }




More information about the scribus-commit mailing list