commit | 2cb08e69b1b252fb730ca831f46f6122238bc1d6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Jan 04 18:48:26 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Jan 04 18:48:26 2010 +0000 |
tree | ff871b61fe6e57228ef7e4f2c1a683b2f5108a9c | |
parent | d443c0a02a061673fc3b5414657d9c7de5ae18e8 [diff] [blame] |
silence a bogus 'might be used uninit' warning from GCC. llvm-svn: 92494
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp index 5f5cdbf..0c9e135 100644 --- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -1095,7 +1095,7 @@ // If LHS is a gep based on RHS or RHS is a gep based on LHS, we can optimize // this. - bool Swapped; + bool Swapped = false; GetElementPtrInst *GEP = 0; ConstantExpr *CstGEP = 0;