Skip to content

Commit fe9b587

Browse files
committed
[flang] Delete unused variable
A declaration for an unused variable was recently introduced (by me) and is producing a warning in builds with the latest clang. Delete it.
1 parent 9e3d59e commit fe9b587

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

flang/lib/Evaluate/fold-integer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,6 @@ Expr<Type<TypeCategory::Integer, KIND>> FoldIntrinsicFunction(
848848
// have folded the argument; in the case of TypeParamInquiry,
849849
// try to get the type of the parameter itself.
850850
if (const auto *expr{args[0] ? args[0]->UnwrapExpr() : nullptr}) {
851-
std::optional<DynamicType> dyType;
852851
if (const auto *inquiry{UnwrapExpr<TypeParamInquiry>(*expr)}) {
853852
if (const auto *typeSpec{inquiry->parameter().GetType()}) {
854853
if (const auto *intrinType{typeSpec->AsIntrinsic()}) {

0 commit comments

Comments
 (0)