<<< Date Index >>>     <<< Thread Index >>>

[PATCH 01 of 16] Assigning pc in these two places doesn't matter



1 file changed, 2 insertions(+), 2 deletions(-)
imap/imap.c |    4 ++--


# HG changeset patch
# User Erik Hovland <erik@xxxxxxxxxxx>
# Date 1236883647 25200
# Branch HEAD
# Node ID 10500281a918accf04eb8d47f717999b88c40823
# Parent  cc6fede605d475f1d9a7faa03d5b8a2c0206c2a1
Assigning pc in these two places doesn't matter.

diff --git a/imap/imap.c b/imap/imap.c
--- a/imap/imap.c
+++ b/imap/imap.c
@@ -654,7 +654,7 @@
       if (!idata->flags)
       {
        dprint (3, (debugfile, "Getting mailbox FLAGS\n"));
-       if ((pc = imap_get_flags (&(idata->flags), pc)) == NULL)
+       if (imap_get_flags (&(idata->flags), pc) == NULL)
          goto fail;
       }
     }
@@ -666,7 +666,7 @@
       mutt_free_list (&(idata->flags));
       /* skip "OK [PERMANENT" so syntax is the same as FLAGS */
       pc += 13;
-      if ((pc = imap_get_flags (&(idata->flags), pc)) == NULL)
+      if (imap_get_flags (&(idata->flags), pc) == NULL)
        goto fail;
     }
     /* save UIDVALIDITY for the header cache */