r20772 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sat Jan 30 15:13:10 UTC 2016
Author: jghali
Date: Sat Jan 30 15:13:10 2016
New Revision: 20772
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20772
Log:
coverity #1350681, uninitialized pointer field
Modified:
trunk/Scribus/scribus/canvasgesture_table.h
Modified: trunk/Scribus/scribus/canvasgesture_table.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20772&path=/trunk/Scribus/scribus/canvasgesture_table.h
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_table.h (original)
+++ trunk/Scribus/scribus/canvasgesture_table.h Sat Jan 30 15:13:10 2016
@@ -35,8 +35,8 @@
virtual ~TableGesture() {}
protected:
- explicit TableGesture(CanvasMode* parent) : CanvasGesture(parent->view()) {};
- explicit TableGesture(ScribusView* view) : CanvasGesture(view) {};
+ explicit TableGesture(CanvasMode* parent) : CanvasGesture(parent->view()), m_table(0) {};
+ explicit TableGesture(ScribusView* view) : CanvasGesture(view), m_table(0) {};
/// Returns the currently edited table.
PageItem_Table* table() const { return m_table; }
More information about the scribus-commit
mailing list