mirror_frr/ospfd
Donald Sharp 266469ebab 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>
2018-09-06 20:50:58 +00:00
..
.gitignore *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
ChangeLog.opaque.txt Initial revision 2003-02-03 16:31:16 +00:00
Makefile build: non-recursive ospf* 2017-08-04 11:09:50 +02:00
ospf_abr.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_abr.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_api.c ospfd: OoB access (Coverity 1221445 1221448) 2018-06-25 11:22:20 +02:00
ospf_api.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_apiserver.c ospfd: Add ospf_lsa_new_and_data function and abstract away 2018-08-20 20:41:37 -04:00
ospf_apiserver.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_asbr.c ospfd: Remove unused function 2018-08-21 08:40:51 -04:00
ospf_asbr.h ospfd: Remove unused function 2018-08-21 08:40:51 -04:00
ospf_ase.c ospfd: interface speed change during intf add 2018-08-24 15:26:42 -07:00
ospf_ase.h *: reindent 2017-07-17 14:04:07 +02:00
ospf_bfd.c bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00:00
ospf_bfd.h bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00:00
ospf_dump_api.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_dump_api.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_dump.c Merge pull request #2486 from pacovn/cppcheck_fmt_validation 2018-06-18 15:23:49 -04:00
ospf_dump.h OSPFd: Update Segment Routing PR following review 2018-01-29 17:58:53 +01:00
ospf_errors.c *: rename ferr_ref -> log_ref 2018-08-14 20:02:05 +00:00
ospf_errors.h *: rename ferr_ref -> log_ref 2018-08-14 20:02:05 +00:00
ospf_ext.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospf_ext.h *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
ospf_flood.c ospfd: Add ospf_lsa_new_and_data function and abstract away 2018-08-20 20:41:37 -04:00
ospf_flood.h ospfd: OSPFv2 VRF Support 2017-10-03 09:15:19 -07:00
ospf_ia.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_ia.h *: reindent 2017-07-17 14:04:07 +02:00
ospf_interface.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospf_interface.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_ism.c *: Convert list_delete(struct list *) to ** to allow nulling 2017-10-05 10:53:13 -04:00
ospf_ism.h *: reindent 2017-07-17 14:04:07 +02:00
ospf_lsa.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospf_lsa.h ospfd: Add ospf_lsa_new_and_data function and abstract away 2018-08-20 20:41:37 -04:00
ospf_lsdb.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospf_lsdb.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_main.c ospfd: Remove unused function 2018-08-21 08:40:51 -04:00
ospf_memory.c OSPFD: Add Experimental Segment Routing support 2018-01-18 19:11:11 +01:00
ospf_memory.h OSPFD: Add Experimental Segment Routing support 2018-01-18 19:11:11 +01:00
ospf_neighbor.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
ospf_neighbor.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_network.c *: use frr_elevate_privs() (2/2: manual) 2018-08-14 20:02:05 +00:00
ospf_network.h ospfd: basic support for VRF NETNS backend 2018-02-27 11:11:24 +01:00
ospf_nsm.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_nsm.h *: reindent 2017-07-17 14:04:07 +02:00
ospf_opaque.c *: ALLOC calls cannot fail 2018-08-11 17:14:58 +02:00
ospf_opaque.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_packet.c ospfd: Add ospf_lsa_new_and_data function and abstract away 2018-08-20 20:41:37 -04:00
ospf_packet.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_ri.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospf_ri.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_route.c lib ospfd: dead code (Coverity 1302503 1302502) 2018-06-26 21:39:56 +02:00
ospf_route.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_routemap.c libs, daemons: use const in route-map apply 2018-07-23 10:34:35 -04:00
ospf_snmp.c ospfd: Remove unused function 2018-08-21 08:40:51 -04:00
ospf_spf.c *: ALLOC calls cannot fail 2018-08-11 17:14:58 +02:00
ospf_spf.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_sr.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospf_sr.h OSPFD: Fix Segment Routing Lan Adjacency TLVs 2018-02-19 10:17:41 +01:00
ospf_te.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospf_te.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_vty.c Merge pull request #2945 from dslicenc/bgp-ospf-json 2018-09-01 05:05:30 +02:00
ospf_vty.h ospfd: buffer termination (Coverity 23089) 2018-06-14 17:43:19 +02:00
ospf_zebra.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospf_zebra.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
OSPF-ALIGNMENT.txt *: Remove cvs control points 2017-12-05 17:28:12 -05:00
OSPF-MIB.txt spelling: s/supress/suppress/ 2004-11-05 13:24:12 +00:00
OSPF-TRAP-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00
ospfd.c ospfd: Cleanup some warnings that were not warnings 2018-09-06 20:50:58 +00:00
ospfd.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
ospfd.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
subdir.am ospfd: zlog_ferr facility 2018-08-14 20:02:05 +00:00