aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libcxx/system_error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/libcxx/system_error.cpp')
-rw-r--r--system/lib/libcxx/system_error.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/lib/libcxx/system_error.cpp b/system/lib/libcxx/system_error.cpp
index 763d62c2..7376b770 100644
--- a/system/lib/libcxx/system_error.cpp
+++ b/system/lib/libcxx/system_error.cpp
@@ -195,6 +195,9 @@ __throw_system_error(int ev, const char* what_arg)
{
#ifndef _LIBCPP_NO_EXCEPTIONS
throw system_error(error_code(ev, system_category()), what_arg);
+#else
+ (void)ev;
+ (void)what_arg;
#endif
}