From: Alex Riesen Date: Thu, 28 Aug 2008 17:17:13 +0000 (+0200) Subject: Remove useless memset of static command name lists in builtin-merge.c X-Git-Tag: v1.6.1-rc1~290 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b9f62c0e7d60905d20de552280f91441300197c0;p=git.git Remove useless memset of static command name lists in builtin-merge.c The statics are always initialized with 0 Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- diff --git a/builtin-merge.c b/builtin-merge.c index dcd08f76b..9ad979106 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(¬_strategies, 0, sizeof(struct cmdnames)); load_command_list("git-merge-", &main_cmds, &other_cmds); for (i = 0; i < main_cmds.cnt; i++) {