aboutsummaryrefslogtreecommitdiffstats
path: root/c_init.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c_init.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/c_init.go b/c_init.go
index ca8cd28..b5caf6a 100644
--- a/c_init.go
+++ b/c_init.go
@@ -116,5 +116,7 @@ func c_load_data_dir(dir string, opts HardOpts) *DirsList {
func c_load_litems(ldirs *DirsList) *ItemsList {
litems := ItemsList{}
+ for dir := ldirs.head; dir != nil; dir = dir.next {
+ }
return &litems
}