Merge pull request #4042 from donaldsharp/bfd_sa

bfdd: Clean up assignment without being used SA issue
This commit is contained in:
Renato Westphal 2019-03-30 00:19:24 -03:00 committed by GitHub
commit 84cffea04f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}