refactor(lib): delete the code nothing reaches

This commit is contained in:
milner committed 2022-07-24 18:55:09 +00:00
1 parent 5f81ab227d
commit 84fae96b16
11 files changed
+7 -84

No files matched your search

-2
View File
@@ -107,7 +107,6 @@ let target_of pkgs ((b : block), base) =
{
name = b.bname;
kind;
dir = base;
srcs = [];
gen_srcs = [];
includes = List.map (Eval.under base) (texts (get b "include"));
@@ -116,7 +115,6 @@ let target_of pkgs ((b : block), base) =
cxxflags = texts (get b "cxxflags") @ pkg_cflags;
ldflags = texts (get b "ldflags") @ pkg_libs;
defines = texts (get b "define");
pkgs = pkg_names;
install = get1 b "install";
soname = get1 b "soname";
args = texts (get b "args");