]> git.puffer.fish Git - matthieu/frr.git/commit
babeld: be more explicit about route resize result
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 11 Apr 2018 19:19:23 +0000 (15:19 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 13 Apr 2018 21:17:42 +0000 (17:17 -0400)
commitaaf24c74e44438a55decfc1e2f0930f800a3a650
treeeae2b367777250559319c7c152b4257ecf60de0a
parent316f27e169adaed23985c10e53572b23944e8470
babeld: be more explicit about route resize result

Resizing the route array can fail. Although the error condition is
already correctly handled, if we're more explicit about the variables we
expect to be initialized then clang-analyze is happier.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
babeld/route.c