diff options
Diffstat (limited to 'engines/wintermute/base')
-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; } |