Skip to content

Commit

Permalink
Silence clang warning: variable ‘Status’ set but not used.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248691 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
yrnkrn committed Sep 27, 2015
1 parent d8387ea commit 164cc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/X86/X86ISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12778,7 +12778,7 @@ X86TargetLowering::FP_TO_INTHelper(SDValue Op, SelectionDAG &DAG,
// for DAG type consistency we have to match the FP operand type.

APFloat Thresh(APFloat::IEEEsingle, APInt(32, 0x5f000000));
APFloat::opStatus Status = APFloat::opOK;
LLVM_ATTRIBUTE_UNUSED APFloat::opStatus Status = APFloat::opOK;
bool LosesInfo = false;
if (TheVT == MVT::f64)
// The rounding mode is irrelevant as the conversion should be exact.
Expand Down

0 comments on commit 164cc1e

Please sign in to comment.