silence warnings in a release build
authorChris Lattner <sabre@nondot.org>
Tue, 18 Jul 2006 21:48:57 +0000 (21:48 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 18 Jul 2006 21:48:57 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29189 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/InlineFunction.cpp

index c6f5075f6403b13e3228940e5a09e9eeeaba87fa..7b97646c190c613ac3ef8391db6064e3f0c004b3 100644 (file)
@@ -275,7 +275,7 @@ bool llvm::InlineFunction(CallSite CS, CallGraph *CG) {
 
     // If we are preserving the callgraph, add edges to the stacksave/restore
     // functions for the calls we insert.
-    CallGraphNode *StackSaveCGN, *StackRestoreCGN, *CallerNode;
+    CallGraphNode *StackSaveCGN = 0, *StackRestoreCGN = 0, *CallerNode = 0;
     if (CG) {
       StackSaveCGN    = CG->getOrInsertFunction(StackSave);
       StackRestoreCGN = CG->getOrInsertFunction(StackRestore);