summaryrefslogtreecommitdiff
path: root/zebra/zebra_nb_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_nb_state.c')
-rw-r--r--zebra/zebra_nb_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_nb_state.c b/zebra/zebra_nb_state.c
index 63ac7877d0..6ed11f75f1 100644
--- a/zebra/zebra_nb_state.c
+++ b/zebra/zebra_nb_state.c
@@ -900,6 +900,7 @@ lib_vrf_zebra_ribs_rib_route_route_entry_nexthop_group_nexthop_bh_type_get_elem(
if (nexthop->type != NEXTHOP_TYPE_BLACKHOLE)
return NULL;
+ (void)type_str; /* clang-SA */
switch (nexthop->bh_type) {
case BLACKHOLE_NULL:
type_str = "null";