aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;