commit | e00e6f23d36a802c7a81876891e4b470513d9cae | [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 | ea10fa11758ca1cb9df4e66760c2b5559c58420f | |
parent | a6788325cf19ee25af3e84f89716e150115d361f [diff] [blame] |
Fix a few warnings/errors for compiling with -fno-exceptions. llvm-svn: 178267
diff --git a/libcxx/src/system_error.cpp b/libcxx/src/system_error.cpp index 763d62c..7376b77 100644 --- a/libcxx/src/system_error.cpp +++ b/libcxx/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 }