You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2015/11/24 16:19:25 UTC
svn commit: r1716157 -
/openoffice/trunk/main/vcl/unx/generic/dtrans/X11_selection.cxx
Author: pfg
Date: Tue Nov 24 15:19:25 2015
New Revision: 1716157
URL: http://svn.apache.org/viewvc?rev=1716157&view=rev
Log:
Uninitialized scalar variable
CID: 1028321, 1028322, 1028323
Modified:
openoffice/trunk/main/vcl/unx/generic/dtrans/X11_selection.cxx
Modified: openoffice/trunk/main/vcl/unx/generic/dtrans/X11_selection.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/unx/generic/dtrans/X11_selection.cxx?rev=1716157&r1=1716156&r2=1716157&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/unx/generic/dtrans/X11_selection.cxx (original)
+++ openoffice/trunk/main/vcl/unx/generic/dtrans/X11_selection.cxx Tue Nov 24 15:19:25 2015
@@ -3252,8 +3252,8 @@ void SelectionManager::startDrag(
// of our DropTargets at the time of executeDrag we can use
// them for a start
XLIB_Window aRoot, aParent, aChild;
- int root_x, root_y, win_x, win_y;
- unsigned int mask;
+ int root_x(0), root_y(0), win_x, win_y;
+ unsigned int mask(0);
::std::hash_map< XLIB_Window, DropTargetEntry >::const_iterator it;
it = m_aDropTargets.begin();