From 2ab8f62c6f9e005053f8cb14d906772001c2b71e Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 24 Dec 2016 01:56:25 +0000 Subject: [PATCH] Avoid unused warning in __throw_future_error w/o exceptions enabled git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290479 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/future | 1 + 1 file changed, 1 insertion(+) diff --git a/include/future b/include/future index ce22c1e4e..d1d42f6a7 100644 --- a/include/future +++ b/include/future @@ -520,6 +520,7 @@ void __throw_future_error(future_errc _Ev) #ifndef _LIBCPP_NO_EXCEPTIONS throw future_error(make_error_code(_Ev)); #else + ((void)_Ev); _VSTD::abort(); #endif }