remove redundant zero initializations
we already use calloc().
amends 130664b6
.
This commit is contained in:
parent
b148fd9e44
commit
c69718baab
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user