Avoid unreachable code warning in endian_in_union_test

This commit is contained in:
Peter Dimov
2019-02-19 02:43:07 +02:00
parent e5a1b739c2
commit a564b97dab

View File

@ -14,8 +14,6 @@
#include <boost/endian/detail/disable_warnings.hpp>
#include <boost/endian/arithmetic.hpp>
#include <boost/detail/lightweight_main.hpp>
#include <cassert>
using namespace boost::endian;
@ -78,9 +76,6 @@ union U
U foo;
int cpp_main(int, char * [])
int main()
{
return 0;
}