fix(demo): fix compiler warning of unused variable c (#9370)

Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
Neo Xu
2025-12-21 17:59:49 +08:00
committed by GitHub
parent dd42852d85
commit f5ad5744a9
+2
View File
@@ -975,6 +975,8 @@ static uint32_t loop_optimizable(void)
for(i = 0; i < 100000; i++) {
c++;
}
LV_UNUSED(c);
return 0;
}
static uint32_t loop_not_optimizable(void)