diff options
Diffstat (limited to 'ls-tree.c')
-rw-r--r-- | ls-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ static struct tree_entry_list *find_entry(const char *path) slash = strchr(path, '/'); if (!slash) { len = strlen(path); - next = 0; + next = NULL; } else { next = slash + 1; |