You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2023/03/12 21:27:08 UTC

[openoffice] branch AOO41X updated: Uninitialized scalar variable

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO41X by this push:
     new 024fb564ad Uninitialized scalar variable
024fb564ad is described below

commit 024fb564ad8d4d8ae344f6355df7cd6e03f59e9a
Author: Pedro Giffuni <pf...@apache.org>
AuthorDate: Tue Nov 24 15:19:25 2015 +0000

    Uninitialized scalar variable
    
    CID:    1028321, 1028322, 1028323
    
    git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716157 13f79535-47bb-0310-9956-ffa450edef68
    (cherry picked from commit 788ab3968fb42204e6527a9cf69780b02b72484b)
---
 main/vcl/unx/generic/dtrans/X11_selection.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/vcl/unx/generic/dtrans/X11_selection.cxx b/main/vcl/unx/generic/dtrans/X11_selection.cxx
index bdfbb8f892..ecf0103f08 100644
--- a/main/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/main/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -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();