aboutsummaryrefslogtreecommitdiffstats
path: root/c_init.go
diff options
context:
space:
mode:
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)