[PATCH 2/4] tags_to_maildir_flags: Cleanup double assignement

Subject: [PATCH 2/4] tags_to_maildir_flags: Cleanup double assignement

Date: Thu, 15 Sep 2011 00:23:19 +0200

To: notmuch@notmuchmail.org

Cc: Michal Sojka, Austin Clements

From: Louis Rilling


The for loop right after already does the job.

Signed-off-by: Louis Rilling <l.rilling@av7.net>
---
 lib/message.cc |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/message.cc b/lib/message.cc
index cf651e5..b1b2942 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -1172,8 +1172,6 @@ _new_maildir_filename (void *ctx,
     if (info == NULL) {
 	info = filename + strlen(filename);
     } else {
-	flags = info + 3;
-
 	/* Loop through existing flags in filename. */
 	for (flags = info + 3, last_flag = 0;
 	     *flags;
-- 
1.7.2.5


Thread: