forked from boostorg/endian
Avoid unreachable code warning in endian_in_union_test
This commit is contained in:
1 parent
e5a1b739c2
commit
a564b97dab
1 file changed
+1
-6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user