aboutsummaryrefslogtreecommitdiffstats
path: root/c_init.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-11 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-11 20:20:20 +0100
commit126c13a9234317769088337bea9e263fd588c71c (patch)
tree927b57904f12271b10f9761508dd615bc50001c0 /c_init.go
parentrevert here if needed (diff)
downloadhardflip-126c13a9234317769088337bea9e263fd588c71c.tar.gz
hardflip-126c13a9234317769088337bea9e263fd588c71c.tar.bz2
hardflip-126c13a9234317769088337bea9e263fd588c71c.tar.xz
hardflip-126c13a9234317769088337bea9e263fd588c71c.tar.zst
hardflip-126c13a9234317769088337bea9e263fd588c71c.zip
folded was useless indeed
Diffstat (limited to 'c_init.go')
-rw-r--r--c_init.go4
1 files changed, 0 insertions, 4 deletions
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)