summaryrefslogtreecommitdiffstats
path: root/load-git.c
diff options
context:
space:
mode:
authorGravatar Marcos CARDINOT <mcardinot@gmail.com>2015-03-22 22:53:16 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-23 05:36:13 -0700
commitb5e9663af85d5512495f2be3d921d0dc2da6e6d3 (patch)
treecc933bae5562582d2cee2c8cd0639ce2674993e0 /load-git.c
parent1982bdb9fc749015631fcff5feaddfefd3606b32 (diff)
downloadsubsurface-b5e9663af85d5512495f2be3d921d0dc2da6e6d3.tar.gz
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>
Diffstat (limited to 'load-git.c')
-rw-r--r--load-git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/load-git.c b/load-git.c
index be25e8e94..d8052a550 100644
--- a/load-git.c
+++ b/load-git.c
@@ -1460,6 +1460,7 @@ static int walk_tree_file(const char *root, const git_tree_entry *entry, git_rep
case 'S':
if (!strncmp(name, "Site", 4))
return parse_site_entry(repo, entry, name + 5);
+ break;
case '0':
if (trip && !strcmp(name, "00-Trip"))
return parse_trip_entry(repo, entry);