[PATCH] cli: initialize quiet variable in compact
authorJani Nikula <jani@nikula.org>
Fri, 10 Jan 2014 20:23:09 +0000 (22:23 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:58:56 +0000 (09:58 -0800)
2f/0cd182b3a3838e3ce56fd624a662bdb510ff77 [new file with mode: 0644]

diff --git a/2f/0cd182b3a3838e3ce56fd624a662bdb510ff77 b/2f/0cd182b3a3838e3ce56fd624a662bdb510ff77
new file mode 100644 (file)
index 0000000..481924b
--- /dev/null
@@ -0,0 +1,84 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 31BF4431FBD\r
+       for <notmuch@notmuchmail.org>; Fri, 10 Jan 2014 12:23:24 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id AEfWcf1usgDL for <notmuch@notmuchmail.org>;\r
+       Fri, 10 Jan 2014 12:23:17 -0800 (PST)\r
+Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com\r
+       [209.85.215.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 7719F431FBC\r
+       for <notmuch@notmuchmail.org>; Fri, 10 Jan 2014 12:23:17 -0800 (PST)\r
+Received: by mail-ea0-f169.google.com with SMTP id l9so1903471eaj.0\r
+       for <notmuch@notmuchmail.org>; Fri, 10 Jan 2014 12:23:14 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
+       bh=CMimnpmKVYUsWWlatOtUZAxjYGcprcbGYgTw5jxb7us=;\r
+       b=RIgwzpsGgPu98rEfn4b+0EEEeMA1qh/+Ccn+BcQXQF14bgDBnXtX5+xtOnCsufybat\r
+       lkbaM3wCTvuOUxJouwUEK0ZBqkE/pcrD4JAcQxZOiv83KDIJkUsczZZ1V4br5AAdoCOl\r
+       Pbj4MuCRP/Dx+1f5oFpFS+gVFhYfm8jmFc/zivf2iAxdj07WNRVo+23htJUrG561KP8Q\r
+       XhNHR1i6gpyKkEgktDMqNy4FeUP7qszjeV+D9h2gQfSBpODGFjUhKXaq+QacKHwTpuTM\r
+       XOvHpg60cZlNj0/vkbtM7NAUcZbnEW7fPzbBbosfVcgES8ME4OSxY0Dl82VLc1ogR/Qx\r
+       YT9w==\r
+X-Gm-Message-State:\r
+ ALoCoQmkwJtVFvH7S3r28Tr2Gyx93+bifS/VClHrMKxV60gHqMtQbgUYI71LTnsbVjR87eF8tdIv\r
+X-Received: by 10.15.52.73 with SMTP id o49mr11960335eew.60.1389385393520;\r
+       Fri, 10 Jan 2014 12:23:13 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
+       [88.195.111.91])\r
+       by mx.google.com with ESMTPSA id p45sm17318129eeg.1.2014.01.10.12.23.11\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Fri, 10 Jan 2014 12:23:12 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] cli: initialize quiet variable in compact\r
+Date: Fri, 10 Jan 2014 22:23:09 +0200\r
+Message-Id: <1389385389-1005-1-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 1.8.5.2\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 10 Jan 2014 20:23:24 -0000\r
+\r
+Surprisingly there's no compiler warning!\r
+---\r
+ notmuch-compact.c | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/notmuch-compact.c b/notmuch-compact.c\r
+index 8b820c0..6c59093 100644\r
+--- a/notmuch-compact.c\r
++++ b/notmuch-compact.c\r
+@@ -32,7 +32,7 @@ notmuch_compact_command (notmuch_config_t *config, int argc, char *argv[])\r
+     const char *path = notmuch_config_get_database_path (config);\r
+     const char *backup_path = NULL;\r
+     notmuch_status_t ret;\r
+-    notmuch_bool_t quiet;\r
++    notmuch_bool_t quiet = FALSE;\r
+     int opt_index;\r
\r
+     notmuch_opt_desc_t options[] = {\r
+-- \r
+1.8.5.2\r
+\r