diff options
Diffstat (limited to 'libcxx/src/locale.cpp')
-rw-r--r-- | libcxx/src/locale.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index b7a47843b3d..90bc77c92fe 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -6003,6 +6003,8 @@ void __throw_runtime_error(const char* msg) { #ifndef _LIBCPP_NO_EXCEPTIONS throw runtime_error(msg); +#else + (void)msg; #endif } |