浏览代码

remove void test return statement (#4309)

xiongyang 1 年之前
父节点
当前提交
fad473758c
共有 1 个文件被更改,包括 0 次插入2 次删除
  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