]> diplodocus.org Git - nmh/commitdiff
sbr/folder_read.c: Don't clear newly created bvectors.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 24 Apr 2017 20:13:52 +0000 (21:13 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 26 Apr 2017 06:43:39 +0000 (07:43 +0100)
The newly created bvectors are already clear;  don't loop clearing each
again with memset(3).

sbr/folder_read.c

index b063840..e742153 100644 (file)
@@ -141,13 +141,6 @@ folder_read (char *name, int lockflag)
 
     mp->msgattrs = svector_create (0);
 
 
     mp->msgattrs = svector_create (0);
 
-    /*
-     * Clear all the flag bits for all the message
-     * status entries we just allocated.
-     */
-    for (msgnum = mp->lowoff; msgnum <= mp->hghoff; msgnum++)
-       clear_msg_flags (mp, msgnum);
-
     /*
      * Scan through the array of messages we've seen and
      * setup the initial flags for those messages in the
     /*
      * Scan through the array of messages we've seen and
      * setup the initial flags for those messages in the