commit | 483868d9c455deb2def9e09d18ba18fd8d4ecebf | [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 | 6c5f054c32e40b4e6b2de9edd9245a8ea0861046 | |
parent | 00bd748d9a306e83756308568451ad0b54a4116e [diff] [blame] |
silence a bogus 'might be used uninit' warning from GCC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92494 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp index 5f5cdbf..0c9e135 100644 --- a/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/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;