diff --git boost/exception/detail/clone_current_exception.hpp boost/exception/detail/clone_current_exception.hpp index cc201b9..b485fee 100644 --- boost/exception/detail/clone_current_exception.hpp +++ boost/exception/detail/clone_current_exception.hpp @@ -38,6 +38,7 @@ boost #ifdef BOOST_ENABLE_NON_INTRUSIVE_EXCEPTION_PTR return clone_current_exception_non_intrusive(cloned); #else + (void)cloned; return clone_current_exception_result::not_supported; #endif }