read_hdrs() has a auto `struct tws tb'. It's only use is as the
destination for dlocaltimenow()'s result. Remove the variable. Also
remove the dlocaltimenow() call; this I'm unsure about as it has a side
effect of calling tzset(3). However, tests pass. Repository history
sheds no light.
read_hdrs (struct msgs *mp, char *datesw)
{
int msgnum;
read_hdrs (struct msgs *mp, char *datesw)
{
int msgnum;
- twscopy (&tb, dlocaltimenow ());
-
smsgs = mh_xcalloc(mp->hghsel - mp->lowsel + 2, sizeof *smsgs);
s = smsgs;
for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) {
smsgs = mh_xcalloc(mp->hghsel - mp->lowsel + 2, sizeof *smsgs);
s = smsgs;
for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) {