forked from osmocom/wireshark
Replace g_assert(0) with g_assert_not_reached()
This commit is contained in:
parent
d617f197e8
commit
b2bb8bf4e0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue