summaryrefslogtreecommitdiff
path: root/flang/runtime
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2023-02-23 18:06:34 +0100
committerValentin Clement <clementval@gmail.com>2023-02-23 18:06:58 +0100
commit0402eaed5631236eb011503b59cf2356b4f8dfdc (patch)
tree3a1660f2063e8aa78d236664e2b82bc017781f1b /flang/runtime
parent83cd4bea015feb5729871832784c424b0743a803 (diff)
downloadllvm-0402eaed5631236eb011503b59cf2356b4f8dfdc.tar.gz
[flang][NFC] Remove unused variable
Diffstat (limited to 'flang/runtime')
-rw-r--r--flang/runtime/derived.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/flang/runtime/derived.cpp b/flang/runtime/derived.cpp
index 5bfecdc8f070..354de1baddd9 100644
--- a/flang/runtime/derived.cpp
+++ b/flang/runtime/derived.cpp
@@ -224,7 +224,6 @@ void Destroy(const Descriptor &descriptor, bool finalize,
const Descriptor &componentDesc{derived.component()};
std::size_t myComponents{componentDesc.Elements()};
std::size_t elements{descriptor.Elements()};
- std::size_t byteStride{descriptor.ElementBytes()};
SubscriptValue at[maxRank];
descriptor.GetLowerBounds(at);
for (std::size_t k{0}; k < myComponents; ++k) {