--- /dev/null
+Return-Path: <dmitry.kurochkin@gmail.com>\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 A1331429E29\r
+ for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 03:31:51 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, 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 G+aBqEWanU1J for <notmuch@notmuchmail.org>;\r
+ Thu, 16 Jun 2011 03:31:51 -0700 (PDT)\r
+Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
+ [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id BF3DE431FB6\r
+ for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 03:31:50 -0700 (PDT)\r
+Received: by bwg12 with SMTP id 12so153989bwg.26\r
+ for <notmuch@notmuchmail.org>; Thu, 16 Jun 2011 03:31:49 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+ h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer;\r
+ bh=2aQ37njiqwKPS1JG8Iuu8YCJCkt8UFjouJHg6+UlgHg=;\r
+ b=B03eUPU44PO3rYr4gGLmvrHpReqvdyhr7eMRM0ByHhJaQR39mLMVCR+pCZzHZKkxsQ\r
+ qtC3AqWGxdfTL3FXZ0xeQ8VHmgXEgi586ZjLPVW1yRbQ87lBu+udWoIfoHg4EP97F3Ed\r
+ i1smbSmx3721FnDaqarm26kqsQYKhsZVCWjgc=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
+ h=from:to:cc:subject:date:message-id:x-mailer;\r
+ b=qjCbCpzk9g4+ElZwwHQxMp/UAoYukAGOaYW/5HFqdCfiSw5g05D+k4jvPVI4DhPWg/\r
+ A7cFqYTeqHjZvRfi8r6DCMbiQXO2oy3NsJK72vNvjmSka4vOEvfyixQ/N1jdhR8JyHDo\r
+ aHLo60S4x4lLqU/X1bWBVkt7PXwjvRiGtJpGw=\r
+Received: by 10.204.189.209 with SMTP id df17mr552557bkb.75.1308220309162;\r
+ Thu, 16 Jun 2011 03:31:49 -0700 (PDT)\r
+Received: from localhost ([91.144.186.21])\r
+ by mx.google.com with ESMTPS id v6sm1095475bkf.23.2011.06.16.03.31.46\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Thu, 16 Jun 2011 03:31:47 -0700 (PDT)\r
+From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] Fix compilation warnings in test/smtp-dummy.c.\r
+Date: Thu, 16 Jun 2011 14:32:08 +0400\r
+Message-Id: <1308220328-17995-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+X-Mailer: git-send-email 1.7.5.4\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: Thu, 16 Jun 2011 10:31:51 -0000\r
+\r
+* Remove unused variables in main(): buf, bytes and greeting.\r
+* Replace return with no value in main() with exit(3).\r
+---\r
+ test/smtp-dummy.c | 5 +----\r
+ 1 files changed, 1 insertions(+), 4 deletions(-)\r
+\r
+diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c\r
+index e58d0ad..133d6c4 100644\r
+--- a/test/smtp-dummy.c\r
++++ b/test/smtp-dummy.c\r
+@@ -99,9 +99,6 @@ process_command (FILE *peer, FILE *output, const char *command)\r
+ static void\r
+ do_smtp_to_file (FILE *peer, FILE *output)\r
+ {\r
+- char buf[4096];\r
+- ssize_t bytes;\r
+- char greeting[] = "220 localhost smtp-dummy\r\n";\r
+ char *line = NULL;\r
+ size_t line_size;\r
+ ssize_t line_len;\r
+@@ -193,7 +190,7 @@ main (int argc, char *argv[])\r
+ if (peer_file == NULL) {\r
+ fprintf (stderr, "Error: fdopen() failed: %s\n",\r
+ strerror (errno));\r
+- return;\r
++ exit (1);\r
+ }\r
+ \r
+ do_smtp_to_file (peer_file, output);\r
+-- \r
+1.7.5.4\r
+\r