diff options
author | F. Aragon <paco@voltanet.io> | 2018-09-26 17:25:42 +0200 |
---|---|---|
committer | F. Aragon <paco@voltanet.io> | 2018-09-26 17:25:42 +0200 |
commit | 74d638d522c1daa2c55aadec0dd3c9b6779ca605 (patch) | |
tree | c79b56e76d0d4c19eae85e897c5c75fc45cff3b8 /ospfd | |
parent | Merge pull request #3092 from donaldsharp/bgp_listen_or_listen (diff) | |
download | frr-74d638d522c1daa2c55aadec0dd3c9b6779ca605.tar.xz frr-74d638d522c1daa2c55aadec0dd3c9b6779ca605.zip |
ospfd: dead code (Coverity 1472227)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_lsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index a752630a3..cca1baa54 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -1901,7 +1901,7 @@ struct ospf_lsa *ospf_translated_nssa_refresh(struct ospf *ospf, zlog_debug( "ospf_translated_nssa_refresh(): No translated Type-5 " "found for Type-7 with Id %s", - type7 ? inet_ntoa(type7->data->id) : "(null)"); + inet_ntoa(type7->data->id)); return NULL; } @@ -1914,7 +1914,7 @@ struct ospf_lsa *ospf_translated_nssa_refresh(struct ospf *ospf, zlog_debug( "ospf_translated_nssa_refresh(): Could not translate " "Type-7 for %s to Type-5", - type7 ? inet_ntoa(type7->data->id) : "(null)"); + inet_ntoa(type7->data->id)); return NULL; } |