diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-10-23 19:19:26 -0200 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-10-24 19:30:30 -0200 | 
| commit | cbb65f5ef53d9029811e248608125ffa293753eb (patch) | |
| tree | 20cad1b8d174a57e67b0f6ec637552409c597041 /eigrpd/eigrp_vty.c | |
| parent | 44f12f209f7019c0abbec0f919cb18a136cd7bee (diff) | |
*: fix coverity warnings - error handling issues
Ignore the return value of some functions in the places we know they
can't fail, and other small fixes.
Regarding the change in bgpd/rfapi/rfapi_rib.c, asserting that
rfapiRaddr2Qprefix() didn't fail is the common idiom inside the rfapi
code.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'eigrpd/eigrp_vty.c')
| -rw-r--r-- | eigrpd/eigrp_vty.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/eigrpd/eigrp_vty.c b/eigrpd/eigrp_vty.c index 5fc7818166..4e76428535 100644 --- a/eigrpd/eigrp_vty.c +++ b/eigrpd/eigrp_vty.c @@ -398,7 +398,7 @@ DEFUN (eigrp_network,  	struct prefix p;  	int ret; -	str2prefix(argv[1]->arg, &p); +	(void)str2prefix(argv[1]->arg, &p);  	ret = eigrp_network_set(eigrp, &p); @@ -421,7 +421,7 @@ DEFUN (no_eigrp_network,  	struct prefix p;  	int ret; -	str2prefix(argv[2]->arg, &p); +	(void)str2prefix(argv[2]->arg, &p);  	ret = eigrp_network_unset(eigrp, &p);  | 
