Skip to content

Commit 850a2e6

Browse files
authored
[flang] Fix compiler warning (#99306)
1 parent c63125d commit 850a2e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Optimizer/Builder/IntrinsicCall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6148,7 +6148,7 @@ IntrinsicLibrary::genScan(mlir::Type resultType,
61486148
fir::ExtendedValue
61496149
IntrinsicLibrary::genSecond(std::optional<mlir::Type> resultType,
61506150
mlir::ArrayRef<fir::ExtendedValue> args) {
6151-
assert(args.size() == 1 && !resultType || args.empty() && resultType);
6151+
assert((args.size() == 1 && !resultType) || (args.empty() && resultType));
61526152

61536153
fir::ExtendedValue result;
61546154

0 commit comments

Comments
 (0)