mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:09:17 +00:00
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:
parent
e4bed55b51
commit
3cef9b7ffd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user