[planetblupi] 49/61: Fix uninitialized variable

Didier Raboud odyx at moszumanska.debian.org
Thu Nov 2 19:24:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit 503ed8ce7fc734af7241530e5770e6ddc1fb7557
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Mon Oct 30 18:26:01 2017 +0100

    Fix uninitialized variable
---
 src/event.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/event.cxx b/src/event.cxx
index 024cddd..a29ee99 100644
--- a/src/event.cxx
+++ b/src/event.cxx
@@ -3486,7 +3486,7 @@ CEvent::DecorAutoShift ()
 {
   Sint32 max, maxLimit = 4, xMoveFactor = 1, yMoveFactor = 1, vectorFactor = 1;
   Point  offset;
-  Uint32 dir;
+  Uint32 dir = 0;
 
   bool byKeyboard = !!this->shiftDirection;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git



More information about the Pkg-games-commits mailing list