From 033d1919844447cb6153db55376bc1906709c7c0 Mon Sep 17 00:00:00 2001 From: Denis Bakhvalov Date: Fri, 19 Jul 2019 21:59:42 +0000 Subject: [PATCH] [NFC] Remove unused variable Change-Id: I5aee24dcdf6eebfbf788e52be22463387f23d927 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366620 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TargetInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 1e1038dbfe..884b80cecd 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -9329,7 +9329,7 @@ bool RISCVABIInfo::detectFPCCEligibleStructHelper(QualType Ty, CharUnits CurOff, if (const auto *RTy = Ty->getAs()) { // Structures with either a non-trivial destructor or a non-trivial // copy constructor are not eligible for the FP calling convention. - if (CGCXXABI::RecordArgABI RAA = getRecordArgABI(Ty, CGT.getCXXABI())) + if (getRecordArgABI(Ty, CGT.getCXXABI())) return false; if (isEmptyRecord(getContext(), Ty, true)) return true; -- 2.40.0