mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 09:20:25 +00:00
isisd: fix clang warning
tlvs is not used after extracting the last TLV. So, let's tell to the compiler that it is expected. Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
This commit is contained in:
parent
7295876ada
commit
9c5e2b4f61
@ -223,6 +223,9 @@ uint8_t add_te_subtlvs(uint8_t *buf, struct mpls_te_circuit *mtc)
|
|||||||
tlvs += size;
|
tlvs += size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Add before this line any other parsing of TLV */
|
||||||
|
(void)tlvs;
|
||||||
|
|
||||||
/* Update SubTLVs length */
|
/* Update SubTLVs length */
|
||||||
mtc->length = subtlvs_len(mtc);
|
mtc->length = subtlvs_len(mtc);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user