1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0332C431FBC
\r
6 for <notmuch@notmuchmail.org>; Tue, 15 Jan 2013 13:54:55 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
\r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
13 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id ClkuesRvhg61 for <notmuch@notmuchmail.org>;
\r
17 Tue, 15 Jan 2013 13:54:54 -0800 (PST)
\r
18 Received: from mail-la0-f41.google.com (mail-la0-f41.google.com
\r
19 [209.85.215.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 627CB431FAF
\r
22 for <notmuch@notmuchmail.org>; Tue, 15 Jan 2013 13:54:54 -0800 (PST)
\r
23 Received: by mail-la0-f41.google.com with SMTP id em20so709278lab.0
\r
24 for <notmuch@notmuchmail.org>; Tue, 15 Jan 2013 13:54:52 -0800 (PST)
\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=google.com; s=20120113;
\r
27 h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to
\r
28 :references:in-reply-to:references:x-gm-message-state;
\r
29 bh=FwmehpgBGEH/qlIrWMqZhgwAuqfQtxK/f4ub2NDwUFE=;
\r
30 b=Cni5WzqH6w0aegq9acrcm0VY++KRJA38/tM5G+ANmZ/XosscecdmDl9A0p66+D9hIC
\r
31 QUIAF9PzCRaGaj8lMyvvmJWfa9m9uXTaqGMonOhdikKxR190/kOy5jdvr5dQeWVPzwY7
\r
32 SLTqcu38/SgtctEBrYVnnkA+lzuisIzJnHT+KwJgSOx+fqyPhoMGoXjyv1RUyRMklbg5
\r
33 BydLl6ztL6YzmSRx3hpDcLxrVm/olmcV31/EEif7jTVOjlQope2m1VGyEZGUltPTX5R4
\r
34 HubeydLEG5qx7aVJw4b5fszn+ExJa9J3w8O2Str2ZWFdzqdAw9Sh7TENTM3pDw/qOBBW
\r
36 X-Received: by 10.152.134.243 with SMTP id pn19mr86689065lab.11.1358286892904;
\r
37 Tue, 15 Jan 2013 13:54:52 -0800 (PST)
\r
38 Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.
\r
40 by mx.google.com with ESMTPS id u5sm7278410lbm.8.2013.01.15.13.54.50
\r
41 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
42 Tue, 15 Jan 2013 13:54:51 -0800 (PST)
\r
43 From: Jani Nikula <jani@nikula.org>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH 1/5] cli: remove useless strdup
\r
46 Date: Tue, 15 Jan 2013 23:54:43 +0200
\r
48 <f1a9adbed3e6edfaeab365c528c7b2ccb1e1522b.1358273133.git.jani@nikula.org>
\r
49 X-Mailer: git-send-email 1.7.10.4
\r
50 In-Reply-To: <cover.1358273133.git.jani@nikula.org>
\r
51 References: <cover.1358273133.git.jani@nikula.org>
\r
52 In-Reply-To: <cover.1358273133.git.jani@nikula.org>
\r
53 References: <cover.1358273133.git.jani@nikula.org>
\r
55 ALoCoQlLZpDxGvsbcM/eeet71eKXOMYYjamZLi5TMsKP+j3IfM/910bbdTEbmdEXsARlqDGZtLBf
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Tue, 15 Jan 2013 21:54:55 -0000
\r
71 notmuch-count.c | 4 ----
\r
72 1 file changed, 4 deletions(-)
\r
74 diff --git a/notmuch-count.c b/notmuch-count.c
\r
75 index 2f98128..6a9fae3 100644
\r
76 --- a/notmuch-count.c
\r
77 +++ b/notmuch-count.c
\r
78 @@ -76,10 +76,6 @@ notmuch_count_command (void *ctx, int argc, char *argv[])
\r
82 - if (*query_str == '\0') {
\r
83 - query_str = talloc_strdup (ctx, "");
\r
86 query = notmuch_query_create (notmuch, query_str);
\r
87 if (query == NULL) {
\r
88 fprintf (stderr, "Out of memory\n");
\r