From: Vincent JARDIN Date: Sun, 8 Oct 2017 21:25:24 +0000 (+0200) Subject: isisd: fix clang warning X-Git-Tag: frr-4.0-dev~233^2~12 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9c5e2b4f61567387f94acbb1783c21abfd56fa72;p=matthieu%2Ffrr.git 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 --- diff --git a/isisd/isis_te.c b/isisd/isis_te.c index 70afef1a86..5a4fe82c91 100644 --- a/isisd/isis_te.c +++ b/isisd/isis_te.c @@ -223,6 +223,9 @@ uint8_t add_te_subtlvs(uint8_t *buf, struct mpls_te_circuit *mtc) tlvs += size; } + /* Add before this line any other parsing of TLV */ + (void)tlvs; + /* Update SubTLVs length */ mtc->length = subtlvs_len(mtc);