diff options
author | Kenny Levinsen <kl@kl.wtf> | 2024-02-22 23:12:41 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2024-02-22 23:12:41 +0100 |
commit | 2b1c0ffdd02dd80d8851471ac36eda8f31967797 (patch) | |
tree | 065824f09472e5226a2b293a8292b2479da4d352 | |
parent | 4d68d3759b92f9192ced0dc9ed2572c33e894a7b (diff) |
gamma-control-v1: Remove dead variable assignment
-rw-r--r-- | types/wlr_gamma_control_v1.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/types/wlr_gamma_control_v1.c b/types/wlr_gamma_control_v1.c index 3780bda8..fbf117f8 100644 --- a/types/wlr_gamma_control_v1.c +++ b/types/wlr_gamma_control_v1.c @@ -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; |