{"thread":{"id":"6012","subject":"[PATCH] prune-packed: Fix uninitialized variable.","startedAt":"2006-10-23T16:26:39Z","lastAt":"2006-10-23T16:26:39Z","messageCount":1,"participants":["Alexandre Julliard"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"29727","messageId":"87ejszvw00.fsf@wine.dyndns.org","threadId":"6012","inReplyTo":null,"subject":"[PATCH] prune-packed: Fix uninitialized variable.","fromName":"Alexandre Julliard","fromEmail":"julliard@winehq.org","sentAt":"2006-10-23T16:26:39Z","receivedAt":"2006-10-23T16:26:39Z","isPatch":true,"sender":{"key":"julliard@winehq.org","avatar":null},"body":"The dryrun variable was made local instead of static by the previous\ncommit, and local variables aren't initialized to zero.\n\nSigned-off-by: Alexandre Julliard <julliard@winehq.org>\n---\n builtin-prune-packed.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/builtin-prune-packed.c b/builtin-prune-packed.c\nindex e12b6cf..24e3b0a 100644\n--- a/builtin-prune-packed.c\n+++ b/builtin-prune-packed.c\n@@ -56,7 +56,7 @@ void prune_packed_objects(int dryrun)\n int cmd_prune_packed(int argc, const char **argv, const char *prefix)\n {\n \tint i;\n-\tint dryrun;\n+\tint dryrun = 0;\n \n \tfor (i = 1; i < argc; i++) {\n \t\tconst char *arg = argv[i];\n-- \n1.4.3.1.g7d714\n\n-- \nAlexandre Julliard\njulliard@winehq.org\n"}]}