]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #3111 from pacovn/Coverity_1302499_Logically_dead_code
authorDavid Lamparter <equinox@diac24.net>
Mon, 1 Oct 2018 12:14:54 +0000 (14:14 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Oct 2018 12:14:54 +0000 (14:14 +0200)
ospfd: dead code (Coverity 1302499)

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;
        }