From 21ba23d0d88cff57dcdf104cd6914dabcbc68131 Mon Sep 17 00:00:00 2001 From: Chris Lattner <sabre@nondot.org> Date: Tue, 18 Jul 2006 21:48:57 +0000 Subject: [PATCH] silence warnings in a release build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29189 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/InlineFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp index c6f5075f640..7b97646c190 100644 --- a/lib/Transforms/Utils/InlineFunction.cpp +++ b/lib/Transforms/Utils/InlineFunction.cpp @@ -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);