aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorEwan Crawford <ewan@codeplay.com>2015-07-24 10:01:11 +0000
committerEwan Crawford <ewan@codeplay.com>2015-07-24 10:01:11 +0000
commit7340e1f8da2f1d037d4b978acc18bb9930cc1d0a (patch)
treebf7dd3fe0f9255995df65d462a0f21ab17cadc60 /clang/lib/CodeGen/ModuleBuilder.cpp
parent4d45ff2b87010a78671cd9eb4903ad945ebdb7ea (diff)
downloadllvm-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