remove redundant zero initializations

we already use calloc().

amends 130664b6.
This commit is contained in:
Oswald Buddenhagen 2020-08-05 17:29:58 +02:00
parent b148fd9e44
commit c69718baab

View File

@ -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;