aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorD G Turner2017-01-16 17:38:26 +0000
committerD G Turner2017-01-16 17:38:26 +0000
commit7a14f199eaef7aa29639b936efd0997a1e88fe66 (patch)
tree3562837de7d0c92bbfee25a4ecf337caafe5785f /backends
parentcb96b15ee6453c4d3932072d2d15ca12625b1b47 (diff)
downloadscummvm-rg350-7a14f199eaef7aa29639b936efd0997a1e88fe66.tar.gz
scummvm-rg350-7a14f199eaef7aa29639b936efd0997a1e88fe66.tar.bz2
scummvm-rg350-7a14f199eaef7aa29639b936efd0997a1e88fe66.zip
CLOUD: Fix Possible Uninitialized Variable Compiler Warning.
Diffstat (limited to 'backends')
-rw-r--r--backends/networking/sdl_net/reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/reader.cpp b/backends/networking/sdl_net/reader.cpp
index 27254dee4f..46fb21a47a 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;