summaryrefslogtreecommitdiffstats
path: root/src/system_error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/system_error.cpp')
-rw-r--r--src/system_error.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system_error.cpp b/src/system_error.cpp
index 763d62c..7376b77 100644
--- a/src/system_error.cpp
+++ b/src/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
}
OpenPOWER on IntegriCloud