Code

builtin-receive-pack.c: do not initialize statics to 0
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Feb 2009 06:19:43 +0000 (22:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Feb 2009 06:27:14 +0000 (22:27 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-receive-pack.c

index 1dc373e31036eaf34842c97b63f728ad5cfdb0e9..f7e04c45f997d433a5af4352f3dd0dee11dd43fa 100644 (file)
@@ -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;