Browse Source

remove void test return statement (#4309)

xiongyang 1 năm trước cách đây
mục cha
commit
fad473758c
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      packages/b/boost/xmake.lua

+ 0 - 2
packages/b/boost/xmake.lua

@@ -444,7 +444,6 @@ package("boost")
                     static void test() {
                         boost::iostreams::filtering_ostream out;
                         out.push(boost::iostreams::zstd_compressor());
-                        return 0;
                     }
                 ]]}, {configs = {languages = "c++14"}}))
             end
@@ -455,7 +454,6 @@ package("boost")
                     static void test() {
                         boost::iostreams::filtering_ostream out;
                         out.push(boost::iostreams::lzma_compressor());
-                        return 0;
                     }
                  ]]}, {configs = {languages = "c++14"}}))
             end