]> granicus.if.org Git - clang/commitdiff
[NFC] Remove unused variable
authorDenis Bakhvalov <denis.bakhvalov@intel.com>
Fri, 19 Jul 2019 21:59:42 +0000 (21:59 +0000)
committerDenis Bakhvalov <denis.bakhvalov@intel.com>
Fri, 19 Jul 2019 21:59:42 +0000 (21:59 +0000)
Change-Id: I5aee24dcdf6eebfbf788e52be22463387f23d927

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366620 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetInfo.cpp

index 1e1038dbfe953eb5bd53d8d77f5d8ce5888fdc69..884b80cecd01e599892228b7f96149273f997c62 100644 (file)
@@ -9329,7 +9329,7 @@ bool RISCVABIInfo::detectFPCCEligibleStructHelper(QualType Ty, CharUnits CurOff,
   if (const auto *RTy = Ty->getAs<RecordType>()) {
     // 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;