projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83cd4be
)
[flang][NFC] Remove unused variable
author
Valentin Clement
<clementval@gmail.com>
Thu, 23 Feb 2023 17:06:34 +0000
(18:06 +0100)
committer
Valentin Clement
<clementval@gmail.com>
Thu, 23 Feb 2023 17:06:58 +0000
(18:06 +0100)
flang/runtime/derived.cpp
patch
|
blob
|
history
diff --git
a/flang/runtime/derived.cpp
b/flang/runtime/derived.cpp
index
5bfecdc
..
354de1b
100644
(file)
--- 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) {