Skip to content

Commit 9d61f7e

Browse files
authored
[flang] Remove duplicate call to va_end() (#86865)
Fixes #86825
1 parent a495cfb commit 9d61f7e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

flang/runtime/io-error.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ void IoErrorHandler::SignalError(int iostatOrErrno, const char *msg, ...) {
5656
#endif
5757
ioMsg_ = SaveDefaultCharacter(
5858
buffer, Fortran::runtime::strlen(buffer) + 1, *this);
59-
#if !defined(RT_DEVICE_COMPILATION)
60-
va_end(ap);
61-
#endif
6259
}
6360
}
6461
return;

0 commit comments

Comments
 (0)