From a00e6156ab5ce8623e4560cbdb1db870da023ac5 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Fri, 26 Jun 2020 14:38:43 +0100 Subject: [PATCH] ui: silence clang warning --- src/bin/ui/ui_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/ui/ui_cpu.c b/src/bin/ui/ui_cpu.c index d055138..433d6d4 100644 --- a/src/bin/ui/ui_cpu.c +++ b/src/bin/ui/ui_cpu.c @@ -91,7 +91,7 @@ animator(void *data) { for (x = 0; x < w; x++) { - if ((x == (w - anim->pos))) + if (x == (w - anim->pos)) { *(pixels) = COLOR_BG; }