From: F. Aragon Date: Wed, 26 Sep 2018 15:25:42 +0000 (+0200) Subject: ospfd: dead code (Coverity 1472227) X-Git-Tag: frr-7.1-dev~321^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=74d638d522c1daa2c55aadec0dd3c9b6779ca605;p=mirror%2Ffrr.git ospfd: dead code (Coverity 1472227) Signed-off-by: F. Aragon --- diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index a752630a35..cca1baa544 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; }