diff options
author | paco <paco@voltanet.io> | 2018-06-21 12:59:22 +0200 |
---|---|---|
committer | paco <paco@voltanet.io> | 2018-06-21 17:09:04 +0200 |
commit | 0cfbff749e4a47c96511f2eeed4bd970a7b65c68 (patch) | |
tree | fb62b7987506bc62b8c85be54a89fe34993f5757 /zebra/zebra_netns_id.c | |
parent | Merge pull request #2498 from pacovn/Coverity_1470098_Logically_dead_code (diff) | |
download | frr-0cfbff749e4a47c96511f2eeed4bd970a7b65c68.tar.xz frr-0cfbff749e4a47c96511f2eeed4bd970a7b65c68.zip |
zebra: flow control (Coverity 1462467 1465497)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'zebra/zebra_netns_id.c')
-rw-r--r-- | zebra/zebra_netns_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_netns_id.c b/zebra/zebra_netns_id.c index 317b02f60..96e6df34d 100644 --- a/zebra/zebra_netns_id.c +++ b/zebra/zebra_netns_id.c @@ -307,7 +307,7 @@ ns_id_t zebra_ns_id_get(const char *netnspath) nlh = (struct nlmsghdr *)((char *)nlh + NETLINK_ALIGN( nlh->nlmsg_len)); - } while (len != 0 && return_nsid != NS_UNKNOWN && ret == 0); + } while (len != 0 && ret == 0); } close(fd); |