From a564b97dabc69862f859cf93c9b1eae54669f645 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 19 Feb 2019 02:43:07 +0200 Subject: [PATCH] Avoid unreachable code warning in endian_in_union_test --- test/endian_in_union_test.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/endian_in_union_test.cpp b/test/endian_in_union_test.cpp index 061f3e3..5675687 100644 --- a/test/endian_in_union_test.cpp +++ b/test/endian_in_union_test.cpp @@ -14,8 +14,6 @@ #include #include -#include -#include using namespace boost::endian; @@ -78,9 +76,6 @@ union U U foo; -int cpp_main(int, char * []) +int main() { - - return 0; } -