From bc0e13027e0155f51667ed77ec8a0a9693aa43d5 Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Tue, 26 Dec 2023 18:48:14 +0000 Subject: [PATCH] bar/wayland: remove unused variable --- bar/wayland.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bar/wayland.c b/bar/wayland.c index e95e032..d987e34 100644 --- a/bar/wayland.c +++ b/bar/wayland.c @@ -1279,7 +1279,6 @@ loop(struct bar *_bar, bool do_expose = false; /* Coalesce “refresh” commands */ - size_t count = 0; while (true) { uint8_t command; ssize_t r = read(backend->pipe_fds[0], &command, sizeof(command)); @@ -1293,7 +1292,6 @@ loop(struct bar *_bar, assert(command == 1); if (command == 1) { - count++; do_expose = true; } }