forked from boostorg/endian
Avoid unreachable code warning in endian_in_union_test
This commit is contained in:
@ -14,8 +14,6 @@
|
|||||||
#include <boost/endian/detail/disable_warnings.hpp>
|
#include <boost/endian/detail/disable_warnings.hpp>
|
||||||
|
|
||||||
#include <boost/endian/arithmetic.hpp>
|
#include <boost/endian/arithmetic.hpp>
|
||||||
#include <boost/detail/lightweight_main.hpp>
|
|
||||||
#include <cassert>
|
|
||||||
|
|
||||||
using namespace boost::endian;
|
using namespace boost::endian;
|
||||||
|
|
||||||
@ -78,9 +76,6 @@ union U
|
|||||||
|
|
||||||
U foo;
|
U foo;
|
||||||
|
|
||||||
int cpp_main(int, char * [])
|
int main()
|
||||||
{
|
{
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user