24 Sep
2024
24 Sep
'24
1:43 p.m.
Jinoh Kang (@iamahuman) commented about server/window.c:
win->nb_extra_bytes = extra_bytes; } if (!(win->handle = alloc_user_handle( win, USER_WINDOW ))) goto failed; + else win->last_active = win->handle;
Avoid `else` if the `then` branch ends with a return/goto/noreturn. ```suggestion:-0+0 win->last_active = win->handle; ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6552#note_83212