summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin-merge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin-merge.c b/builtin-merge.c
index dcd08f76b1..9ad9791068 100644
--- a/builtin-merge.c
+++ b/builtin-merge.c
@@ -93,8 +93,6 @@ static struct strategy *get_strategy(const char *name)
struct cmdnames not_strategies;
loaded = 1;
- memset(&main_cmds, 0, sizeof(struct cmdnames));
- memset(&other_cmds, 0, sizeof(struct cmdnames));
memset(&not_strategies, 0, sizeof(struct cmdnames));
load_command_list("git-merge-", &main_cmds, &other_cmds);
for (i = 0; i < main_cmds.cnt; i++) {