| commit | db4d478ff421cd1b1be254264367ceceebf39481 | [log] [tgz] |
|---|---|---|
| author | Howard Hinnant <hhinnant@apple.com> | Thu Mar 28 18:56:26 2013 +0000 |
| committer | Howard Hinnant <hhinnant@apple.com> | Thu Mar 28 18:56:26 2013 +0000 |
| tree | e6cd36706ee86205c158350ed4ddbb7db122db2f | |
| parent | 742fecbd2afe38cb7a95eb697ecb0ce5982562e2 [diff] [blame] |
Fix a few warnings/errors for compiling with -fno-exceptions. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@178267 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ { #ifndef _LIBCPP_NO_EXCEPTIONS throw system_error(error_code(ev, system_category()), what_arg); +#else + (void)ev; + (void)what_arg; #endif }