From: Yaron Keren Date: Sun, 27 Sep 2015 21:31:33 +0000 (+0000) Subject: Silence clang warning: variable ‘Status’ set but not used. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=164cc1e7357968db46baf15d804158b3f4d7aaf3;p=oota-llvm.git Silence clang warning: variable ‘Status’ set but not used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248691 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 0a089d9de1e..3725117f852 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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.