From: Felipe Contreras Date: Tue, 24 Feb 2009 21:59:03 +0000 (+0200) Subject: git add: trivial codestyle cleanup X-Git-Tag: v1.6.2-rc2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9ccb3bca5776278aa4c2bd1da41c07edce68dfd1;p=git.git git add: trivial codestyle cleanup Global static variables don't need to be initialized to 0/NULL. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/builtin-add.c b/builtin-add.c index ac98c8354..08443f2f1 100644 --- a/builtin-add.c +++ b/builtin-add.c @@ -15,7 +15,7 @@ static const char * const builtin_add_usage[] = { "git add [options] [--] ...", NULL }; -static int patch_interactive = 0, add_interactive = 0; +static int patch_interactive, add_interactive; static int take_worktree_changes; static void fill_pathspec_matches(const char **pathspec, char *seen, int specs)