]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_lsa.c
ospfd: Cleanup some warnings that were not warnings
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 20 Aug 2018 18:05:53 +0000 (14:05 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 6 Sep 2018 20:50:58 +0000 (20:50 +0000)
commit266469ebababa2d6949bbd22390010d422a68356
treea5b15fdf7d24d393645d2e898350a87a5b59f9d8
parent0e411ce68160c3896d3b6f58906697e8eec7874c
ospfd: Cleanup some warnings that were not warnings

1) stream allocation cannot fail
2) some warnings were removed when functions safely ignored
the calling parameters being wrong.
3) some warnings were removed when functions did not consider
the state as an error since we did not return an error code.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospfd/ospf_ext.c
ospfd/ospf_interface.c
ospfd/ospf_lsa.c
ospfd/ospf_lsdb.c
ospfd/ospf_ri.c
ospfd/ospf_sr.c
ospfd/ospf_te.c
ospfd/ospf_zebra.c
ospfd/ospfd.c