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

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

commit e8f3fc7e3706ee14996cd70ded0e36e03cd69d61
Author: Mathieu Schroeter <[email protected]>
Date:   Mon Oct 23 19:29:23 2017 +0200

    Initialize the struct
---
 src/event.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/event.cxx b/src/event.cxx
index 1e54762..50d40c7 100644
--- a/src/event.cxx
+++ b/src/event.cxx
@@ -4564,6 +4564,8 @@ CEvent::ReadInfo ()
   if (file == nullptr)
     goto error;
 
+  SDL_memset (&info, 0, sizeof (info));
+
   nb = fread (&info, sizeof (DescInfo), 1, file);
   if (nb < 1)
     goto error;

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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to