mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 11:07:34 +08:00
fix(demo): fix compiler warning of unused variable c (#9370)
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user