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
 }