]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix compiler warning 1118/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 7 Sep 2017 13:31:00 +0000 (15:31 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 7 Sep 2017 13:31:50 +0000 (15:31 +0200)
commitbe054588b43a222a128840011259b5f8e6c8a2cd
treebd778522d9883f51bdd547676cadef1846fad142
parentdbbac180c111d55b473b2352d95ef3a17695a7db
bgpd: fix compiler warning

bgp_route.c:6393:7: error: ‘len’ may be used uninitialized in this function
gcc 5.4.0 isn't intelligent enough to notice it's set on all paths.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_route.c