Replace g_assert(0) with g_assert_not_reached()

This commit is contained in:
João Valverde 2021-03-03 16:27:57 +00:00
parent d617f197e8
commit b2bb8bf4e0
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ _inet_pton(int af, const gchar *src, gpointer dst)
g_critical("ws_inet_pton6: EAFNOSUPPORT");
}
else {
g_assert(0);
g_assert_not_reached();
}
errno = EAFNOSUPPORT;
}