mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 14:33:09 +00:00
ldpd: fix clang warning
size is not used for further parsing. Keep it updated but tell to the compiler that we know it is not used just in case one needs to extend the parsing somedays. Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
This commit is contained in:
parent
9c5e2b4f61
commit
e3df3ba6d4
@ -88,6 +88,7 @@ send_address(struct nbr *nbr, int af, struct if_addr_head *addr_list,
|
||||
err |= gen_msg_hdr(buf, msg_type, size);
|
||||
size -= LDP_MSG_SIZE;
|
||||
err |= gen_address_list_tlv(buf, af, addr_list, tlv_addr_count);
|
||||
(void)size;
|
||||
if (err) {
|
||||
address_list_clr(addr_list);
|
||||
ibuf_free(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user