[libcxx] r290479 - Avoid unused warning in __throw_future_error w/o exceptions enabled
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 23 17:56:26 PST 2016
Author: ericwf
Date: Fri Dec 23 19:56:25 2016
New Revision: 290479
URL: http://llvm.org/viewvc/llvm-project?rev=290479&view=rev
Log:
Avoid unused warning in __throw_future_error w/o exceptions enabled
Modified:
libcxx/trunk/include/future
Modified: libcxx/trunk/include/future
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/future?rev=290479&r1=290478&r2=290479&view=diff
==============================================================================
--- libcxx/trunk/include/future (original)
+++ libcxx/trunk/include/future Fri Dec 23 19:56:25 2016
@@ -520,6 +520,7 @@ void __throw_future_error(future_errc _E
#ifndef _LIBCPP_NO_EXCEPTIONS
throw future_error(make_error_code(_Ev));
#else
+ ((void)_Ev);
_VSTD::abort();
#endif
}
More information about the cfe-commits
mailing list