From: Chris Lattner Date: Tue, 18 Jul 2006 21:48:57 +0000 (+0000) Subject: silence warnings in a release build X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=21ba23d0d88cff57dcdf104cd6914dabcbc68131;p=oota-llvm.git silence warnings in a release build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29189 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);