diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-04-23 08:21:06 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-04-23 08:21:06 +0000 |
commit | 20115617d4979d5efa5b7741d5ab7a0978a9eb22 (patch) | |
tree | c51aba73ec7084ca999478da3d15047dd08fe941 | |
parent | 83eb90690685a5e0658f06e9a1e2dc7d086afc7a (diff) | |
download | external_llvm-20115617d4979d5efa5b7741d5ab7a0978a9eb22.zip external_llvm-20115617d4979d5efa5b7741d5ab7a0978a9eb22.tar.gz external_llvm-20115617d4979d5efa5b7741d5ab7a0978a9eb22.tar.bz2 |
Silence an overzealous uninitialized variable warning from GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130053 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index e156cef..4534e85 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -1608,7 +1608,7 @@ SDNode *X86DAGToDAGISel::Select(SDNode *Node) { if (Opcode != ISD::AND && ((Val >> ShlVal) << ShlVal) != Val) break; - unsigned ShlOp, Op; + unsigned ShlOp, Op = 0; EVT CstVT = NVT; // Check the minimum bitwidth for the new constant. |