diff options
author | David Rientjes <rientjes@google.com> | 2006-08-15 10:23:48 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-15 21:22:20 -0700 |
commit | 96f1e58f524fac8607cfc38896b365b6e8365b51 (patch) | |
tree | b30b39c8333a821b18c5a4313eda9d7e8ef2d844 /builtin-push.c | |
parent | c9c3470aec3a1d753ac1e5f21358f6374c1add95 (diff) | |
download | git-96f1e58f524fac8607cfc38896b365b6e8365b51.tar.gz |
remove unnecessary initializations
[jc: I needed to hand merge the changes to the updated codebase,
so the result needs to be checked.]
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-push.c')
-rw-r--r-- | builtin-push.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin-push.c b/builtin-push.c index c09ff2f65e..2b5e6fa9ed 100644 --- a/builtin-push.c +++ b/builtin-push.c @@ -10,14 +10,14 @@ static const char push_usage[] = "git-push [--all] [--tags] [-f | --force] <repository> [<refspec>...]"; -static int all = 0, tags = 0, force = 0, thin = 1; -static const char *execute = NULL; +static int all, tags, force, thin = 1; +static const char *execute; #define BUF_SIZE (2084) static char buffer[BUF_SIZE]; -static const char **refspec = NULL; -static int refspec_nr = 0; +static const char **refspec; +static int refspec_nr; static void add_refspec(const char *ref) { |