* ospfd/ospf_apiserver.c: extra ; causing lookup to fail always
* ospfd/ospf_lsa.c: extra ; causing debug output even when disabled
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
struct ospf_interface *oi;
struct ospf *ospf;
- if (!(ospf = ospf_lookup ()));
+ if (!(ospf = ospf_lookup ()))
return NULL;
for (ALL_LIST_ELEMENTS (ospf->oiflist, node, nnode, oi))
if ( (new = ospf_lsa_install (ospf, NULL, new)) == NULL)
{
- if (IS_DEBUG_OSPF_NSSA);
+ if (IS_DEBUG_OSPF_NSSA)
zlog_debug ("ospf_lsa_translated_nssa_originate(): "
"Could not install LSA "
"id %s", inet_ntoa (type7->data->id));