]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: dead code (Coverity 1472227) 3094/head
authorF. Aragon <paco@voltanet.io>
Wed, 26 Sep 2018 15:25:42 +0000 (17:25 +0200)
committerF. Aragon <paco@voltanet.io>
Wed, 26 Sep 2018 15:25:42 +0000 (17:25 +0200)
Signed-off-by: F. Aragon <paco@voltanet.io>
ospfd/ospf_lsa.c

index a752630a35fc58e47bb5e0cb7391d6ca8913b046..cca1baa544db98ded95076fc43f88fabd67cf40d 100644 (file)
@@ -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;
        }