mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
load-git::walk_tree_file - missing break in switch
Let's be consistent and avoid potential future bugs. Signed-off-by: Marcos CARDINOT <mcardinot@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1982bdb9fc
commit
b5e9663af8
1 changed files with 1 additions and 0 deletions
|
@ -1460,6 +1460,7 @@ static int walk_tree_file(const char *root, const git_tree_entry *entry, git_rep
|
||||||
case 'S':
|
case 'S':
|
||||||
if (!strncmp(name, "Site", 4))
|
if (!strncmp(name, "Site", 4))
|
||||||
return parse_site_entry(repo, entry, name + 5);
|
return parse_site_entry(repo, entry, name + 5);
|
||||||
|
break;
|
||||||
case '0':
|
case '0':
|
||||||
if (trip && !strcmp(name, "00-Trip"))
|
if (trip && !strcmp(name, "00-Trip"))
|
||||||
return parse_trip_entry(repo, entry);
|
return parse_trip_entry(repo, entry);
|
||||||
|
|
Loading…
Reference in a new issue