sdp: Remove unnecessary memset()

The memory referenced by "u" pointer is initialized right after the
memset() call.
This commit is contained in:
Anderson Lizardo 2012-05-18 16:33:03 -04:00 committed by Johan Hedberg
parent 32b4ad5af8
commit 068ea1c864

View File

@ -1934,7 +1934,6 @@ int sdp_get_uuidseq_attr(const sdp_record_t *rec, uint16_t attr,
if (!u)
goto fail;
memset(u, 0, sizeof(uuid_t));
*u = d->val.uuid;
*seqp = sdp_list_append(*seqp, u);
}