From 6b52e3051cd00fa39e8a7504e41a931cc874cb0e Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 5 Jan 2024 20:20:20 +0100 Subject: fuck all of this hosts only --- c_init.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'c_init.go') diff --git a/c_init.go b/c_init.go index 9c189c1..770bd8c 100644 --- a/c_init.go +++ b/c_init.go @@ -62,9 +62,6 @@ type HardOpts struct { FoldAll bool } - -var global_id int - // this function recurses into the specified root directory in order to load // every yaml file into memory func c_recurse_data_dir(dir, root string, opts HardOpts, @@ -87,7 +84,6 @@ func c_recurse_data_dir(dir, root string, opts HardOpts, // item_node.Dirs = &dir_node // item_node.Host = nil ldirs.add_back(&dir_node) - global_id++ // litems.add_back(&item_node) for _, file := range files { filename := file.Name() @@ -106,7 +102,6 @@ func c_recurse_data_dir(dir, root string, opts HardOpts, host_node.Filename = filename // host_node.Parent = &dir_node dir_node.lhost.add_back(host_node) - global_id++ } } } -- cgit v1.2.3