summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-18 21:48:57 +0000
committerChris Lattner <sabre@nondot.org>2006-07-18 21:48:57 +0000
commit21ba23d0d88cff57dcdf104cd6914dabcbc68131 (patch)
tree0e919aa4d5e30dc41be4c499a6e16f6b4b8a0676 /lib/Transforms/Utils/InlineFunction.cpp
parent1b629444e77c21e41985a61170fc0572ff465e25 (diff)
downloadllvm-21ba23d0d88cff57dcdf104cd6914dabcbc68131.tar.gz
llvm-21ba23d0d88cff57dcdf104cd6914dabcbc68131.tar.bz2
llvm-21ba23d0d88cff57dcdf104cd6914dabcbc68131.tar.xz
silence warnings in a release build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index c6f5075f64..7b97646c19 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);