]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: dead code (Coverity 1302499)
authorF. Aragon <paco@voltanet.io>
Mon, 1 Oct 2018 10:03:15 +0000 (12:03 +0200)
committerF. Aragon <paco@voltanet.io>
Mon, 1 Oct 2018 10:03:15 +0000 (12:03 +0200)
Signed-off-by: F. Aragon <paco@voltanet.io>
ospfd/ospf_lsa.c

index cca1baa544db98ded95076fc43f88fabd67cf40d..581a969fbcfd6f0df72d8c6127e5bf336a89c373 100644 (file)
@@ -1891,7 +1891,7 @@ struct ospf_lsa *ospf_translated_nssa_refresh(struct ospf *ospf,
                        zlog_debug(
                                "ospf_translated_nssa_refresh(): no Type-7 found for "
                                "Type-5 LSA Id %s",
-                               type5 ? inet_ntoa(type5->data->id) : "(null)");
+                               inet_ntoa(type5->data->id));
                return NULL;
        }