diff options
author | F. Aragon <paco@voltanet.io> | 2018-10-02 10:46:20 +0200 |
---|---|---|
committer | F. Aragon <paco@voltanet.io> | 2018-10-02 10:46:20 +0200 |
commit | 11b88ecf7e4beba7d0342578045447785f6080b5 (patch) | |
tree | a7fcfe5664f79d97d45b76282683c88233c74a8d | |
parent | Merge pull request #3086 from patrasar/1836 (diff) | |
download | frr-11b88ecf7e4beba7d0342578045447785f6080b5.tar.xz frr-11b88ecf7e4beba7d0342578045447785f6080b5.zip |
eigrpd: dead code (Coverity 1460436)
Signed-off-by: F. Aragon <paco@voltanet.io>
-rw-r--r-- | eigrpd/eigrp_query.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/eigrpd/eigrp_query.c b/eigrpd/eigrp_query.c index dd4231fa0..84dcf5e2d 100644 --- a/eigrpd/eigrp_query.c +++ b/eigrpd/eigrp_query.c @@ -235,11 +235,8 @@ void eigrp_send_query(struct eigrp_interface *ei) } } - if (!has_tlv) { - if (ep) - eigrp_packet_free(ep); + if (!has_tlv) return; - } if ((ei->params.auth_type == EIGRP_AUTH_TYPE_MD5) && ei->params.auth_keychain != NULL) |