summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0abc026)
raw | patch | inline | side by side (parent: 0abc026)
author | Alexandre Julliard <julliard@winehq.org> | |
Mon, 23 Oct 2006 16:26:39 +0000 (18:26 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 23 Oct 2006 20:19:18 +0000 (13:19 -0700) |
The dryrun variable was made local instead of static by the previous
commit, and local variables aren't initialized to zero.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit, and local variables aren't initialized to zero.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-prune-packed.c | patch | blob | history |
diff --git a/builtin-prune-packed.c b/builtin-prune-packed.c
index e12b6cf599a0b54577051e63dfce5ce0d21282cd..24e3b0a8c21b43e0e82e5e505353213ca79f01b0 100644 (file)
--- a/builtin-prune-packed.c
+++ b/builtin-prune-packed.c
int cmd_prune_packed(int argc, const char **argv, const char *prefix)
{
int i;
- int dryrun;
+ int dryrun = 0;
for (i = 1; i < argc; i++) {
const char *arg = argv[i];