[Lldb-commits] [PATCH] D11323: Initialize variable to prevent garbage values (RenderScriptRuntime)

Ewan Crawford ewan at codeplay.com
Fri Jul 24 03:01:41 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL243104: Initialize variable to prevent garbage values (RenderScriptRuntime) (authored by EwanCrawford).

Changed prior to commit:
  http://reviews.llvm.org/D11323?vs=30064&id=30567#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11323

Files:
  lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp

Index: lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
===================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
+++ lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
@@ -776,7 +776,7 @@
         return;
     }
 
-    bool kernels_found;
+    bool kernels_found = false;
     ConstString kernel_name(name);
     for (const auto &module : m_rsmodules)
     {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11323.30567.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150724/63757c7c/attachment.bin>


More information about the lldb-commits mailing list