scanner: Remove unreachable call to exit()

fail() already does not return.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
This commit is contained in:
Demi Marie Obenour 2024-08-12 00:03:24 -04:00
parent 81bbde007e
commit 8e83f0f531

View file

@ -1232,7 +1232,6 @@ emit_stubs(struct wl_list *message_list, struct interface *interface)
"interface '%s' has method named destroy "
"but no destructor",
interface->name);
exit(EXIT_FAILURE);
}
if (!has_destroy && strcmp(interface->name, "wl_display") != 0) {