summaryrefslogtreecommitdiff
path: root/builtin-receive-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-08 22:19:43 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-10 22:27:14 -0800
commit1b53a076fc3e3dc58e67971df18df0ce973a3ff9 (patch)
treebd1d801f1ff951f4d271fc516d3f9250f52041af /builtin-receive-pack.c
parent747ca2455a8dd4e255358f5f96773f84259408c3 (diff)
downloadgit-1b53a076fc3e3dc58e67971df18df0ce973a3ff9.tar.gz
builtin-receive-pack.c: do not initialize statics to 0
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-receive-pack.c')
-rw-r--r--builtin-receive-pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-receive-pack.c b/builtin-receive-pack.c
index 1dc373e310..f7e04c45f9 100644
--- a/builtin-receive-pack.c
+++ b/builtin-receive-pack.c
@@ -18,8 +18,8 @@ enum deny_action {
DENY_REFUSE,
};
-static int deny_deletes = 0;
-static int deny_non_fast_forwards = 0;
+static int deny_deletes;
+static int deny_non_fast_forwards;
static enum deny_action deny_current_branch = DENY_UNCONFIGURED;
static enum deny_action deny_delete_current = DENY_UNCONFIGURED;
static int receive_fsck_objects;