From 2c712abe9881d82e3dc06bf314f94f52f2f84014 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 29 Oct 2016 11:52:53 -0400 Subject: [PATCH] Redo boost/system commit 241f69c55e. This commit from November 2015 silences a GCC warning due to unused variables. --- bundled/boost-1.62.0/include/boost/system/error_code.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundled/boost-1.62.0/include/boost/system/error_code.hpp b/bundled/boost-1.62.0/include/boost/system/error_code.hpp index d419f3701b..232464c66e 100644 --- a/bundled/boost-1.62.0/include/boost/system/error_code.hpp +++ b/bundled/boost-1.62.0/include/boost/system/error_code.hpp @@ -218,9 +218,9 @@ namespace boost inline const error_category & get_system_category() { return system_category(); } inline const error_category & get_generic_category() { return generic_category(); } inline const error_category & get_posix_category() { return generic_category(); } - static const error_category & posix_category = generic_category(); - static const error_category & errno_ecat = generic_category(); - static const error_category & native_ecat = system_category(); + static const error_category & posix_category BOOST_ATTRIBUTE_UNUSED = generic_category(); + static const error_category & errno_ecat BOOST_ATTRIBUTE_UNUSED = generic_category(); + static const error_category & native_ecat BOOST_ATTRIBUTE_UNUSED = system_category(); # endif // class error_condition -----------------------------------------------// -- 2.39.5