diff options
author | Ewan Crawford <ewan@codeplay.com> | 2015-07-24 10:01:11 +0000 |
---|---|---|
committer | Ewan Crawford <ewan@codeplay.com> | 2015-07-24 10:01:11 +0000 |
commit | 7340e1f8da2f1d037d4b978acc18bb9930cc1d0a (patch) | |
tree | bf7dd3fe0f9255995df65d462a0f21ab17cadc60 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 4d45ff2b87010a78671cd9eb4903ad945ebdb7ea (diff) | |
download | llvm-7340e1f8da2f1d037d4b978acc18bb9930cc1d0a.zip llvm-7340e1f8da2f1d037d4b978acc18bb9930cc1d0a.tar.gz llvm-7340e1f8da2f1d037d4b978acc18bb9930cc1d0a.tar.bz2 |
Initialize variable to prevent garbage values (RenderScriptRuntime)
The kernels_found variable is not initialized, so if it is not assigned true on line 823, then it will be a garbage value in the branch condition on line 828. This patch initializes the variable to false.
Patch by neilparikh.
Reviewers: domipheus
Differential Revision: http://reviews.llvm.org/D11323
llvm-svn: 243104
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions