Skip to content

Commit

Permalink
[flang] Remove duplicate call to va_end() (#86865)
Browse files Browse the repository at this point in the history
Fixes #86825
  • Loading branch information
marcauberer committed Mar 28, 2024
1 parent a495cfb commit 9d61f7e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions flang/runtime/io-error.cpp
Expand Up @@ -56,9 +56,6 @@ void IoErrorHandler::SignalError(int iostatOrErrno, const char *msg, ...) {
#endif
ioMsg_ = SaveDefaultCharacter(
buffer, Fortran::runtime::strlen(buffer) + 1, *this);
#if !defined(RT_DEVICE_COMPILATION)
va_end(ap);
#endif
}
}
return;
Expand Down

0 comments on commit 9d61f7e

Please sign in to comment.