Skip to content

Commit 1b53a07

Browse files
committed
builtin-receive-pack.c: do not initialize statics to 0
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 747ca24 commit 1b53a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin-receive-pack.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ enum deny_action {
1818
DENY_REFUSE,
1919
};
2020

21-
static int deny_deletes = 0;
22-
static int deny_non_fast_forwards = 0;
21+
static int deny_deletes;
22+
static int deny_non_fast_forwards;
2323
static enum deny_action deny_current_branch = DENY_UNCONFIGURED;
2424
static enum deny_action deny_delete_current = DENY_UNCONFIGURED;
2525
static int receive_fsck_objects;

0 commit comments

Comments
 (0)