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 /http-push.c | |
parent | c9c3470aec3a1d753ac1e5f21358f6374c1add95 (diff) | |
download | git-96f1e58f524fac8607cfc38896b365b6e8365b51.tar.gz git-96f1e58f524fac8607cfc38896b365b6e8365b51.tar.xz |
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 'http-push.c')
-rw-r--r-- | http-push.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/http-push.c b/http-push.c index 22a3e2bc0..2bd984576 100644 --- a/http-push.c +++ b/http-push.c @@ -70,18 +70,18 @@ enum XML_Status { /* We allow "recursive" symbolic refs. Only within reason, though */ #define MAXDEPTH 5 -static int pushing = 0; -static int aborted = 0; +static int pushing; +static int aborted; static signed char remote_dir_exists[256]; static struct curl_slist *no_pragma_header; static struct curl_slist *default_headers; -static int push_verbosely = 0; -static int push_all = 0; -static int force_all = 0; +static int push_verbosely; +static int push_all; +static int force_all; -static struct object_list *objects = NULL; +static struct object_list *objects; struct repo { @@ -94,7 +94,7 @@ struct repo struct remote_lock *locks; }; -static struct repo *remote = NULL; +static struct repo *remote; enum transfer_state { NEED_FETCH, @@ -134,7 +134,7 @@ struct transfer_request struct transfer_request *next; }; -static struct transfer_request *request_queue_head = NULL; +static struct transfer_request *request_queue_head; struct xml_ctx { |