diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-11 18:31:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-11 18:31:26 +0000 |
commit | ed36b2f1c2ee768cd155445dd398ec06f329cc5a (patch) | |
tree | 74327922283376c1ae789692dc85954b7a5dbeaa | |
parent | 27bc97d2479e3345d61f9b08f2e6ae7dfa88fafb (diff) |
Silence a warning produced in assertions-disabled mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29108 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 1fc4211ea7..20b1752c20 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/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) |