[PATCH 1/2] tags_to_maildir_flags: Cleanup double assignement

Louis Rilling l.rilling at av7.net
Mon Jul 11 07:36:17 PDT 2011


The for loop right after already does the job.

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

diff --git a/lib/message.cc b/lib/message.cc
index d993cde..64b6cf8 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



More information about the notmuch mailing list