Skip to content

Commit

Permalink
[flang] Fix compiler warning (#99306)
Browse files Browse the repository at this point in the history
  • Loading branch information
tblah authored Jul 17, 2024
1 parent c63125d commit 850a2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/lib/Optimizer/Builder/IntrinsicCall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6148,7 +6148,7 @@ IntrinsicLibrary::genScan(mlir::Type resultType,
fir::ExtendedValue
IntrinsicLibrary::genSecond(std::optional<mlir::Type> resultType,
mlir::ArrayRef<fir::ExtendedValue> args) {
assert(args.size() == 1 && !resultType || args.empty() && resultType);
assert((args.size() == 1 && !resultType) || (args.empty() && resultType));

fir::ExtendedValue result;

Expand Down

0 comments on commit 850a2e6

Please sign in to comment.