From 126c13a9234317769088337bea9e263fd588c71c Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 11 Jan 2024 20:20:20 +0100 Subject: folded was useless indeed --- c_init.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'c_init.go') diff --git a/c_init.go b/c_init.go index dae6941..730da45 100644 --- a/c_init.go +++ b/c_init.go @@ -76,7 +76,6 @@ func c_recurse_data_dir(dir, root string, opts HardOpts, parent, depth, &HostList{}, - false, nil, } ldirs.add_back(&dir_node) @@ -111,9 +110,6 @@ func c_load_data_dir(dir string, opts HardOpts) *DirsList { func c_load_litems(ldirs *DirsList) *ItemsList { litems := ItemsList{} - if ldirs.head != nil { - ldirs.head.Folded = false - } for ptr := ldirs.head; ptr != nil; ptr = ptr.next { item := ItemsNode{ Dirs: ptr, Host: nil } litems.add_back(&item) -- cgit v1.2.3