Fix unused variable warnings

This commit is contained in:
Peter Dimov
2021-09-16 19:30:28 +03:00
parent a6c988181e
commit 36843a4e2d
3 changed files with 8 additions and 3 deletions
+5 -3
View File
@@ -16,8 +16,10 @@
#include <boost/detail/lightweight_test.hpp>
#include <boost/system/error_code.hpp>
int main( int, char*[] )
int main()
{
boost::system::error_code ec( 0, boost::system::system_category() );
return ::boost::report_errors();
boost::system::error_code ec( 0, boost::system::system_category() );
(void)ec;
return ::boost::report_errors();
}