mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-27 20:35:38 +02:00
bar/wayland: remove unused variable
This commit is contained in:
parent
89e74139f5
commit
bc0e13027e
1 changed files with 0 additions and 2 deletions
|
@ -1279,7 +1279,6 @@ loop(struct bar *_bar,
|
||||||
bool do_expose = false;
|
bool do_expose = false;
|
||||||
|
|
||||||
/* Coalesce “refresh” commands */
|
/* Coalesce “refresh” commands */
|
||||||
size_t count = 0;
|
|
||||||
while (true) {
|
while (true) {
|
||||||
uint8_t command;
|
uint8_t command;
|
||||||
ssize_t r = read(backend->pipe_fds[0], &command, sizeof(command));
|
ssize_t r = read(backend->pipe_fds[0], &command, sizeof(command));
|
||||||
|
@ -1293,7 +1292,6 @@ loop(struct bar *_bar,
|
||||||
|
|
||||||
assert(command == 1);
|
assert(command == 1);
|
||||||
if (command == 1) {
|
if (command == 1) {
|
||||||
count++;
|
|
||||||
do_expose = true;
|
do_expose = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue