diff options
author | Marc Auberer <marc.auberer@chillibits.com> | 2024-03-28 12:42:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 12:42:44 +0100 |
commit | 9d61f7ea660bc4087763e679a7f2b87c50cca108 (patch) | |
tree | 49ccc80c4672c83ad91650e5a6aaa93fbc9f6b14 | |
parent | a495cfbf7d544ed2624e8a54f14129fa7824eee4 (diff) | |
download | llvm-9d61f7ea660bc4087763e679a7f2b87c50cca108.zip llvm-9d61f7ea660bc4087763e679a7f2b87c50cca108.tar.gz llvm-9d61f7ea660bc4087763e679a7f2b87c50cca108.tar.bz2 |
[flang] Remove duplicate call to va_end() (#86865)
Fixes #86825
-rw-r--r-- | flang/runtime/io-error.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/flang/runtime/io-error.cpp b/flang/runtime/io-error.cpp index 02f237f..b006b82f 100644 --- a/flang/runtime/io-error.cpp +++ b/flang/runtime/io-error.cpp @@ -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; |