aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorD G Turner2019-10-05 01:55:50 +0100
committerD G Turner2019-10-05 01:55:50 +0100
commit5aeedd64d5bcd5924f35fc83fe9734c56ab1855f (patch)
treedbc4ce86e1363b6aa5cffcb5ea09240bc1fd5deb /engines
parent7b247bad4c09af60742ce0f531bf96e3936656d9 (diff)
downloadscummvm-rg350-5aeedd64d5bcd5924f35fc83fe9734c56ab1855f.tar.gz
scummvm-rg350-5aeedd64d5bcd5924f35fc83fe9734c56ab1855f.tar.bz2
scummvm-rg350-5aeedd64d5bcd5924f35fc83fe9734c56ab1855f.zip
WINTERMUTE: Fix Possible Uninitialized Variable Compiler Warnings
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/base_dynamic_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/base_dynamic_buffer.cpp b/engines/wintermute/base/base_dynamic_buffer.cpp
index 7187a78769..e81ea5206a 100644
--- a/engines/wintermute/base/base_dynamic_buffer.cpp
+++ b/engines/wintermute/base/base_dynamic_buffer.cpp
@@ -140,7 +140,7 @@ void BaseDynamicBuffer::putDWORD(uint32 val) {
//////////////////////////////////////////////////////////////////////////
uint32 BaseDynamicBuffer::getDWORD() {
- uint32 ret;
+ uint32 ret = 0;
getBytes((byte *)&ret, sizeof(uint32));
return ret;
}