summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-11 18:31:26 +0000
committerChris Lattner <sabre@nondot.org>2006-07-11 18:31:26 +0000
commit091b6ea847a222f5baec4eed2de67bc541447503 (patch)
treeaee0244c29ce7bfa5e64e6b054717e6efa2a7d9d /llvm/lib/Transforms/Scalar
parentd14fd43f4b9d99dc33f89ac65f46425fbd81243f (diff)
downloadbcm5719-llvm-091b6ea847a222f5baec4eed2de67bc541447503.tar.gz
bcm5719-llvm-091b6ea847a222f5baec4eed2de67bc541447503.zip
Silence a warning produced in assertions-disabled mode
llvm-svn: 29108
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 1fc4211ea74..20b1752c20f 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -2902,7 +2902,7 @@ Instruction *InstCombiner::MatchBSwap(BinaryOperator &I) {
// If they do then *success* we can turn this into a bswap. Figure out what
// bswap to make it into.
Module *M = I.getParent()->getParent()->getParent();
- const char *FnName;
+ const char *FnName = 0;
if (I.getType() == Type::UShortTy)
FnName = "llvm.bswap.i16";
else if (I.getType() == Type::UIntTy)
OpenPOWER on IntegriCloud