X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..64c1e9c1845f4a3531d5a64c1233fda03ae284ae:/uip/sortm.c diff --git a/uip/sortm.c b/uip/sortm.c index 58b30d36..f07e7863 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -1,5 +1,4 @@ -/* - * sortm.c -- sort messages in a folder by date/time +/* sortm.c -- sort messages in a folder by date/time * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -309,11 +308,8 @@ static int read_hdrs (struct msgs *mp, char *datesw) { int msgnum; - struct tws tb; struct smsg *s; - twscopy (&tb, dlocaltimenow ()); - smsgs = mh_xcalloc(mp->hghsel - mp->lowsel + 2, sizeof *smsgs); s = smsgs; for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) {