1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

Silence an overzealous uninitialized variable warning from GCC.

llvm-svn: 130053
This commit is contained in:
Benjamin Kramer 2011-04-23 08:21:06 +00:00
parent f85b5360a8
commit fee48a936f

View File

@ -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.