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:
Marcos CARDINOT 2015-03-22 22:53:16 -03:00 committed by Dirk Hohndel
parent 1982bdb9fc
commit b5e9663af8

View file

@ -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);