diff options
| author | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-10-27 01:52:31 -0700 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2022-10-27 17:05:03 +0000 |
| commit | 08c02eaf7ba90654b4cd443670ede5eb8329447a (patch) | |
| tree | 7d0659ee172e6922fd7f6061fb0e053d7688b82a /ospfd/ospf_api.h | |
| parent | 99267afe94eb286cf3f55db4244982022058096a (diff) | |
pimd: Unchecked return value
In tib_sg_oil_setup: Value returned from a function is not checked for errors before being used.
If the function returns an error value, the error value may be mistaken for a normal value.
Here, only the nexthop value is being used. So casted the return type to void.
Coverity CID-1519816
Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
(cherry picked from commit f13530f23a9ba73027f8f40b78eb81396afaa092)
Diffstat (limited to 'ospfd/ospf_api.h')
0 files changed, 0 insertions, 0 deletions
