]> The Tcpdump Group git mirrors - tcpdump/commit
LSP ping: Fix "Unused value" warnings from Coverity
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 16 Jan 2023 19:05:20 +0000 (20:05 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 16 Jan 2023 19:12:53 +0000 (20:12 +0100)
commit98145e4ca7e59bfa5c181842c11bd41e98185152
treebc9edfcb3c491ebb0f921b6b0d481952f779fb8f
parentd6e3ebf92c335fc47ab51218127d3ebffc38566d
LSP ping: Fix "Unused value" warnings from Coverity

This change should fix the following Coverity Scan issues:

CID 1397795 (#1 of 1): Unused value (UNUSED_VALUE)
assigned_pointer: Assigning value from tlv_tptr + 4UL to tlv_tptr here,
but that stored value is overwritten before it can be used.

CID 1397796 (#1 of 1): Unused value (UNUSED_VALUE)
assigned_value: Assigning value from tlv_tlen - 4UL to tlv_tlen here,
but that stored value is overwritten before it can be used.
print-lspping.c