From: Louis Rilling Date: Wed, 14 Sep 2011 22:23:19 +0000 (+0200) Subject: tags_to_maildir_flags: Cleanup double assignement X-Git-Tag: 0.11_rc1~116 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=b9360be2bd4d2db379cd701d4091420ce53cb564;ds=sidebyside tags_to_maildir_flags: Cleanup double assignement The for loop right after already does the job. Signed-off-by: Louis Rilling --- diff --git a/lib/message.cc b/lib/message.cc index 8f1c4dcd..00754254 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -1217,8 +1217,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;