Fix gcc11.1 uninitialised var warning

This commit is contained in:
matt335672 2022-01-04 10:09:33 +00:00
parent a8375d68b5
commit 67bf23feee
1 changed files with 1 additions and 1 deletions

View File

@ -1210,7 +1210,7 @@ lib_framebuffer_waiting_for_resize_confirm(struct vnc *v)
{
int error;
struct vnc_screen_layout layout = {0};
int response_code;
int response_code = 0;
error = find_matching_extended_rect(v,
rect_is_reply_to_us,