This patch is part of a series that moves towards a consistent use of
g_assert_not_reached() rather than an ad hoc mix of different
assertion mechanisms.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <
20240919044641.386068-10-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
type = NetPktRssIpV6Ex;
break;
default:
- assert(false);
+ g_assert_not_reached();
return 0;
}
type = NetPktRssIpV6Udp;
break;
default:
- assert(false);
+ g_assert_not_reached();
return 0;
}
_net_rx_rss_prepare_udp(&rss_input[0], pkt, &rss_length);
break;
default:
- assert(false);
+ g_assert_not_reached();
break;
}