[PATCH 2/4] tags_to_maildir_flags: Cleanup double assignement
Louis Rilling
l.rilling at av7.net
Wed Sep 14 15:23:19 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 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
More information about the notmuch
mailing list