[Scummvm-git-logs] scummvm master -> 7a14f199eaef7aa29639b936efd0997a1e88fe66
digitall
dgturner at iee.org
Mon Jan 16 18:32:00 CET 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
7a14f199ea CLOUD: Fix Possible Uninitialized Variable Compiler Warning.
Commit: 7a14f199eaef7aa29639b936efd0997a1e88fe66
https://github.com/scummvm/scummvm/commit/7a14f199eaef7aa29639b936efd0997a1e88fe66
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-16T17:38:26Z
Commit Message:
CLOUD: Fix Possible Uninitialized Variable Compiler Warning.
Changed paths:
backends/networking/sdl_net/reader.cpp
diff --git a/backends/networking/sdl_net/reader.cpp b/backends/networking/sdl_net/reader.cpp
index 27254de..46fb21a 100644
--- a/backends/networking/sdl_net/reader.cpp
+++ b/backends/networking/sdl_net/reader.cpp
@@ -350,7 +350,7 @@ bool Reader::readOneByteInStream(Common::WriteStream *stream, const Common::Stri
}
byte Reader::readOne() {
- byte b;
+ byte b = 0;
_content->read(&b, 1);
--_availableBytes;
--_bytesLeft;
More information about the Scummvm-git-logs
mailing list