diff options
author | D G Turner | 2019-10-05 01:55:50 +0100 |
---|---|---|
committer | D G Turner | 2019-10-05 01:55:50 +0100 |
commit | 5aeedd64d5bcd5924f35fc83fe9734c56ab1855f (patch) | |
tree | dbc4ce86e1363b6aa5cffcb5ea09240bc1fd5deb /engines | |
parent | 7b247bad4c09af60742ce0f531bf96e3936656d9 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |