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:
Vincent JARDIN 2017-10-08 23:25:24 +02:00
parent 7295876ada
commit 9c5e2b4f61

View File

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