Skip to content

Commit 44c6616

Browse files
[flang] Fix a warning
This patch fixes: flang/lib/Semantics/check-declarations.cpp:2009:15: error: unused variable 'kind' [-Werror,-Wunused-variable]
1 parent cbef629 commit 44c6616

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

flang/lib/Semantics/check-declarations.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,6 @@ void CheckHelper::CollectSpecifics(DistinguishabilityHelper &helper,
20062006

20072007
void CheckHelper::CheckSpecifics(
20082008
const Symbol &generic, const GenericDetails &details) {
2009-
GenericKind kind{details.kind()};
20102009
DistinguishabilityHelper helper{context_};
20112010
CollectSpecifics(helper, generic, details);
20122011
helper.Check(generic.owner());

0 commit comments

Comments
 (0)