[flang-commits] [flang] 4730582 - [flang] Remove unused variable in Allocatable.cpp
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Mon Mar 7 21:54:00 PST 2022
Author: Valentin Clement
Date: 2022-03-08T06:51:23+01:00
New Revision: 4730582d5d6fb58f3d64fef0cf7f0d8c69990007
URL: https://github.com/llvm/llvm-project/commit/4730582d5d6fb58f3d64fef0cf7f0d8c69990007
DIFF: https://github.com/llvm/llvm-project/commit/4730582d5d6fb58f3d64fef0cf7f0d8c69990007.diff
LOG: [flang] Remove unused variable in Allocatable.cpp
Fix for buildbot failure: https://lab.llvm.org/buildbot/#/builders/180/builds/3532
Added:
Modified:
flang/lib/Lower/Allocatable.cpp
Removed:
################################################################################
diff --git a/flang/lib/Lower/Allocatable.cpp b/flang/lib/Lower/Allocatable.cpp
index b852c249ba996..862d29e74056c 100644
--- a/flang/lib/Lower/Allocatable.cpp
+++ b/flang/lib/Lower/Allocatable.cpp
@@ -303,7 +303,6 @@ class AllocateStmtHelper {
void lowerAllocation(const Allocation &alloc) {
fir::MutableBoxValue boxAddr =
genMutableBoxValue(converter, loc, alloc.getAllocObj());
- mlir::Value backupBox;
if (sourceExpr) {
genSourceAllocation(alloc, boxAddr);
More information about the flang-commits
mailing list