1 Return-Path: <lrilling@gmail.com>
\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 EF99E429E32
\r
6 for <notmuch@notmuchmail.org>; Mon, 11 Jul 2011 07:37:04 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,
\r
13 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 6EUQaahXEPKv for <notmuch@notmuchmail.org>;
\r
17 Mon, 11 Jul 2011 07:37:03 -0700 (PDT)
\r
18 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com
\r
19 [209.85.215.181]) (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 2665F429E26
\r
22 for <notmuch@notmuchmail.org>; Mon, 11 Jul 2011 07:37:02 -0700 (PDT)
\r
23 Received: by mail-ey0-f181.google.com with SMTP id 5so1380568eyh.26
\r
24 for <notmuch@notmuchmail.org>; Mon, 11 Jul 2011 07:37:01 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to
\r
27 :references; bh=N55XI7F39VBgwk4yBF/u/gWXfAjO12O2zMerS7oZNa4=;
\r
28 b=I2c2nCf6krSvZaOXe3Yw0Cf3Uj0Sf/NIaLoQ0YlyhfDcYazVudCLW9WzYsZpCHrP2Q
\r
29 RYnBTJ7LXcT3fpXlOtii0Fgrt3uh44AmPqyeIWL4mlsfSiJp2gitfVD1zNDLnPBYBk4J
\r
30 Ka+mrLVWRh6Yl6VHwSBhPcHCIqYkwLUtKyP+Y=
\r
31 Received: by 10.213.13.220 with SMTP id d28mr1004591eba.60.1310395021755;
\r
32 Mon, 11 Jul 2011 07:37:01 -0700 (PDT)
\r
33 Received: from osdor.le-roi-du-couscous.fr ([78.222.14.116])
\r
34 by mx.google.com with ESMTPS id q16sm1163418eef.41.2011.07.11.07.37.00
\r
35 (version=SSLv3 cipher=OTHER); Mon, 11 Jul 2011 07:37:01 -0700 (PDT)
\r
36 Sender: Louis Rilling <lrilling@gmail.com>
\r
37 From: Louis Rilling <l.rilling@av7.net>
\r
38 To: Carl Worth <cworth@cworth.org>
\r
39 Subject: [PATCH 1/2] tags_to_maildir_flags: Cleanup double assignement
\r
40 Date: Mon, 11 Jul 2011 16:36:17 +0200
\r
41 Message-Id: <1310394978-11883-2-git-send-email-l.rilling@av7.net>
\r
42 X-Mailer: git-send-email 1.7.2.5
\r
43 In-Reply-To: <87d3hzgemi.fsf@yoom.home.cworth.org>
\r
44 References: <87d3hzgemi.fsf@yoom.home.cworth.org>
\r
45 Cc: notmuch@notmuchmail.org, Austin Clements <amdragon@mit.edu>
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\r
49 List-Id: "Use and development of the notmuch mail system."
\r
50 <notmuch.notmuchmail.org>
\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
54 List-Post: <mailto:notmuch@notmuchmail.org>
\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
58 X-List-Received-Date: Mon, 11 Jul 2011 14:37:05 -0000
\r
60 The for loop right after already does the job.
\r
62 Signed-off-by: Louis Rilling <l.rilling@av7.net>
\r
64 lib/message.cc | 2 --
\r
65 1 files changed, 0 insertions(+), 2 deletions(-)
\r
67 diff --git a/lib/message.cc b/lib/message.cc
\r
68 index d993cde..64b6cf8 100644
\r
69 --- a/lib/message.cc
\r
70 +++ b/lib/message.cc
\r
71 @@ -1172,8 +1172,6 @@ _new_maildir_filename (void *ctx,
\r
73 info = filename + strlen(filename);
\r
77 /* Loop through existing flags in filename. */
\r
78 for (flags = info + 3, last_flag = 0;
\r