mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-14 08:22:20 -04:00
scanner: drop redundant exit() after fail()
fail() already calls exit(), so the extra exit() is never reached. Remove it to avoid dead code. Signed-off-by: YaoBing Xiao <xiaoyaobing@uniontech.com>
This commit is contained in:
parent
e647f6304d
commit
74becc8761
1 changed files with 0 additions and 1 deletions
|
|
@ -1224,7 +1224,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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue