]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Table: tame warnings around unused debug messages
authorMaria Matejka <mq@ucw.cz>
Fri, 11 Oct 2024 10:23:15 +0000 (12:23 +0200)
committerMaria Matejka <mq@ucw.cz>
Fri, 11 Oct 2024 10:23:52 +0000 (12:23 +0200)
nest/rt-table.c

index a76a12ec3a2dc015be16be0d0f037f580af3f00f..de43201d205e132bae2fcefe651e5c07dc0ddec4 100644 (file)
@@ -1151,14 +1151,18 @@ rt_notify_accepted(struct channel *c, const struct rt_export_feed *feed)
 
     /* Just a debug message for the last case */
     else
+    {
       RT_NOTIFY_DEBUG("route %u id %u is suboptimal, not checking", i, r->id);
+    }
   }
 
   /* Nothing to export */
   if (!idempotent && (new_best || old_best))
     do_rt_notify(c, feed->ni->addr, new_best, old_best);
   else
+  {
     RT_NOTIFY_DEBUG("nothing to export for %N", feed->ni->addr);
+  }
 }
 
 void