[libclc] 272/291: Properly initialize Module pointer

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit fe3a8837c1cd1fac03dccca1ee62ef940c76affe
Author: Jeroen Ketema <j.ketema at imperial.ac.uk>
Date:   Sat Jun 27 12:35:54 2015 +0000

    Properly initialize Module pointer
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@240881 91177308-0d34-0410-b5e6-96231b3b80d8
---
 utils/prepare-builtins.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/prepare-builtins.cpp b/utils/prepare-builtins.cpp
index 42bce75..2aefcc9 100644
--- a/utils/prepare-builtins.cpp
+++ b/utils/prepare-builtins.cpp
@@ -34,7 +34,7 @@ int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, "libclc builtin preparation tool\n");
 
   std::string ErrorMessage;
-  Module *M;
+  Module *M = nullptr;
 
   {
     ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr =

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list