gamma-control-v1: Remove dead variable assignment

This commit is contained in:
Kenny Levinsen 2024-02-22 23:12:41 +01:00
parent 4d68d3759b
commit 2b1c0ffdd0

View file

@ -101,7 +101,6 @@ static void gamma_control_handle_set_gamma(struct wl_client *client,
goto error_table;
}
close(fd);
fd = -1;
free(gamma_control->table);
gamma_control->table = table;