diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-12-19 00:15:17 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-19 00:15:18 +0100 |
commit | 3517022568b0cbf2ada289e43c8c562b61132082 (patch) | |
tree | d71a3432d07de7634b22a965adf0a22a1295641d /apply.c | |
parent | Merge branch 'jc/strmap-remove-typefix' (diff) | |
parent | style: do not "break" in switch() after "return" (diff) | |
download | git-3517022568b0cbf2ada289e43c8c562b61132082.tar.xz git-3517022568b0cbf2ada289e43c8c562b61132082.zip |
Merge branch 'ab/unreachable-break'
Code clean-up.
* ab/unreachable-break:
style: do not "break" in switch() after "return"
Diffstat (limited to 'apply.c')
-rw-r--r-- | apply.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -3948,10 +3948,8 @@ static int check_patch(struct apply_state *state, struct patch *patch) break; /* happy */ case EXISTS_IN_INDEX: return error(_("%s: already exists in index"), new_name); - break; case EXISTS_IN_INDEX_AS_ITA: return error(_("%s: does not match index"), new_name); - break; case EXISTS_IN_WORKTREE: return error(_("%s: already exists in working directory"), new_name); |