[Lldb-commits] [lldb] r138565 - /lldb/trunk/source/Core/Address.cpp

Johnny Chen johnny.chen at apple.com
Thu Aug 25 10:40:39 PDT 2011


Author: johnny
Date: Thu Aug 25 12:40:39 2011
New Revision: 138565

URL: http://llvm.org/viewvc/llvm-project?rev=138565&view=rev
Log:
Initializes (uint64_t)buf variable, patch by Filipe Cabecinhas!

Modified:
    lldb/trunk/source/Core/Address.cpp

Modified: lldb/trunk/source/Core/Address.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Address.cpp?rev=138565&r1=138564&r2=138565&view=diff
==============================================================================
--- lldb/trunk/source/Core/Address.cpp (original)
+++ lldb/trunk/source/Core/Address.cpp Thu Aug 25 12:40:39 2011
@@ -74,7 +74,7 @@
         success = false;
         return 0;
     }
-    uint64_t buf;
+    uint64_t buf = 0;
 
     success = ReadBytes (exe_scope, address, &buf, byte_size) == byte_size;
     if (success)





More information about the lldb-commits mailing list