bfdd: Clean up assignment without being used SA issue

Clang's SA is reporting that we have a assignment without
subsuquent use.  Modify the code such that we no-longer
do this.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2019-03-28 22:22:26 -04:00
parent e4bed55b51
commit 3cef9b7ffd

View File

@ -1180,6 +1180,9 @@ const char *bs_to_string(const struct bfd_session *bs)
if (bs->key.ifname[0])
pos += snprintf(buf + pos, sizeof(buf) - pos, " ifname:%s",
bs->key.ifname);
(void)pos;
return buf;
}