r20773 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 15:18:38 UTC 2016


Author: jghali
Date: Sat Jan 30 15:18:38 2016
New Revision: 20773

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

Modified:
    trunk/Scribus/scribus/canvasmode_normal.cpp

Modified: trunk/Scribus/scribus/canvasmode_normal.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20773&path=/trunk/Scribus/scribus/canvasmode_normal.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_normal.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_normal.cpp	Sat Jan 30 15:18:38 2016
@@ -75,6 +75,9 @@
 CanvasMode_Normal::CanvasMode_Normal(ScribusView* view) : CanvasMode(view), m_ScMW(view->m_ScMW) 
 {
 	m_frameResizeHandle = -1;
+	m_dragConstrainInitPtX = 0;
+	m_dragConstrainInitPtY = 0;
+	m_lastPosWasOverGuide = false;
 	m_shiftSelItems = false;
 	m_resizeGesture = NULL;
 	m_lineMoveGesture  = NULL;




More information about the scribus-commit mailing list