From c69718baabae5a5c68e1c10724992133385a00ac Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 5 Aug 2020 17:29:58 +0200 Subject: [PATCH] remove redundant zero initializations we already use calloc(). amends 130664b6. --- src/drv_imap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index 3c2825f..abb9e21 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1174,17 +1174,13 @@ parse_fetch_rsp( imap_store_t *ctx, list_t *list, char *s ATTR_UNUSED ) cur = nfcalloc( sizeof(*cur) ); *ctx->msgapp = &cur->gen; ctx->msgapp = &cur->gen.next; - cur->gen.next = NULL; cur->gen.uid = uid; cur->gen.flags = mask; cur->gen.status = status; cur->gen.size = size; - cur->gen.srec = NULL; cur->gen.msgid = msgid; if (tuid) memcpy( cur->gen.tuid, tuid, TUIDL ); - else - cur->gen.tuid[0] = 0; } return LIST_OK;