aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flang/runtime/io-error.cpp3
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;