[colobot] 367/390: Fix gcc warning

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:22:05 UTC 2015


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

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 35ce6c228a082449cd862afe467b612c7be315f8
Author: Piotr Dziwinski <piotrdz at gmail.com>
Date:   Tue May 19 23:03:17 2015 +0200

    Fix gcc warning
---
 src/common/resources/inputstreambuffer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/resources/inputstreambuffer.cpp b/src/common/resources/inputstreambuffer.cpp
index 9ac1fec..88defef 100644
--- a/src/common/resources/inputstreambuffer.cpp
+++ b/src/common/resources/inputstreambuffer.cpp
@@ -102,7 +102,7 @@ std::streampos CInputStreamBuffer::seekoff(std::streamoff off, std::ios_base::se
        * egtpr - end of block
        off argument is relative to way */
 
-    std::streamoff new_position;
+    std::streamoff new_position{};
 
     switch (way)
     {

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



More information about the Pkg-games-commits mailing list