[flang] remove unused variable (NFC) (#184293)

This commit is contained in:
Kelvin Li 2026-03-03 13:02:30 -05:00 committed by GitHub
parent c1bba5ba02
commit b926acfb34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8547,7 +8547,7 @@ void IntrinsicLibrary::genTokenize(llvm::ArrayRef<fir::ExtendedValue> args) {
// TOKENS is CHARACTER. For form 2, FIRST is INTEGER.
mlir::Type thirdArgEleTy = fir::getElementTypeOf(args[2]);
bool isForm1 = fir::isa_char(thirdArgEleTy);
bool isForm2 = fir::isa_integer(thirdArgEleTy);
[[maybe_unused]] bool isForm2 = fir::isa_integer(thirdArgEleTy);
assert((isForm1 || isForm2) &&
"TOKENIZE third argument must be CHARACTER or INTEGER");