summaryrefslogtreecommitdiff
path: root/src/system_error.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2013-04-27 17:27:12 +0000
committerDimitry Andric <dim@FreeBSD.org>2013-04-27 17:27:12 +0000
commit527d9fcb66574fdd657c3235c0d7cba7c5439d5c (patch)
treef4dbdda47a8f2e8eb8196e6a33ed834e8400837e /src/system_error.cpp
parentc7f918d0681828afdbddfdcc354b6f3dfc2a7b68 (diff)
Notes
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 763d62c2a0b4..7376b770ecf8 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
}