From 40e3592961b337df453bd3359b6ec34dc40ca411 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Thu, 25 Aug 2011 17:40:39 +0000 Subject: [PATCH] Initializes (uint64_t)buf variable, patch by Filipe Cabecinhas! llvm-svn: 138565 --- lldb/source/Core/Address.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Core/Address.cpp b/lldb/source/Core/Address.cpp index e90561c7b88e..d6e851c25b10 100644 --- a/lldb/source/Core/Address.cpp +++ b/lldb/source/Core/Address.cpp @@ -74,7 +74,7 @@ ReadUIntMax64 (ExecutionContextScope *exe_scope, const Address &address, uint32_ success = false; return 0; } - uint64_t buf; + uint64_t buf = 0; success = ReadBytes (exe_scope, address, &buf, byte_size) == byte_size; if (success)