]> git.ipfire.org Git - thirdparty/git.git/blobdiff - apply.c
Merge branch 'ab/detox-gettext-tests'
[thirdparty/git.git] / apply.c
diff --git a/apply.c b/apply.c
index 4a4e9a0158caec5b971ebe9926cf4de75ab123fc..668b16e9893d2f1e0501f2771716138db6e2efdd 100644 (file)
--- a/apply.c
+++ b/apply.c
@@ -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);