From 5aeedd64d5bcd5924f35fc83fe9734c56ab1855f Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sat, 5 Oct 2019 01:55:50 +0100 Subject: WINTERMUTE: Fix Possible Uninitialized Variable Compiler Warnings --- engines/wintermute/base/base_dynamic_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; } -- cgit v1.2.3