summaryrefslogtreecommitdiff
path: root/src/patch_parse.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-02-18 10:16:15 +0000
committerGitHub <noreply@github.com>2018-02-18 10:16:15 +0000
commit574671ba8e0ca487dead726a4addd9841fa4e6fa (patch)
treef7129297c67e1c7df12b32a149a50750b7b21f55 /src/patch_parse.c
parentb8cb75361d48f16f41dfa99b5b988a914e53040b (diff)
parent92324d84921721035458ba8d128dea48436525ec (diff)
downloadlibgit2-574671ba8e0ca487dead726a4addd9841fa4e6fa.tar.gz
Merge pull request #4534 from pks-t/pks/build-warnings
Fix build warnings
Diffstat (limited to 'src/patch_parse.c')
-rw-r--r--src/patch_parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/patch_parse.c b/src/patch_parse.c
index 27c01e96f..acdd45e82 100644
--- a/src/patch_parse.c
+++ b/src/patch_parse.c
@@ -575,6 +575,7 @@ static int parse_hunk_body(
switch (c) {
case '\n':
prefix = 0;
+ /* fall through */
case ' ':
origin = GIT_DIFF_LINE_CONTEXT;