]> git.proxmox.com Git - mirror_frr.git/commit - bfdd/ptm_adapter.c
bfdd: Fix `don't assign to value to ourself` compiler warning
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 15 Aug 2018 17:48:09 +0000 (13:48 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 15 Aug 2018 17:48:09 +0000 (13:48 -0400)
commitf0d2be33170ba78ca7cd31d4dc11b880f372aa32
tree0cec35832b2663099a1fb2038d02053d7bbdfe7b
parent24a04145c553553e07f97d7c4e1c6daf68e5781c
bfdd: Fix `don't assign to value to ourself` compiler warning

We were attempting to get around a unused value by setting
a variable to itself, but it runs afoul of a different
compiler and a message about not setting a variable to
itself.  So let's mark the ttl value as unused.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bfdd/ptm_adapter.c