diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 23:02:33 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 23:26:15 -0400 |
commit | a84176122c2d9646c51637043d1d5e3d58a1e6be (patch) | |
tree | 828eb6809f54c7ea2071ea9ac2c01ac03a924cea /apps/plugins/test_boost.c | |
parent | 469866b6c90c1de8a8581347a357e33a3dfd908c (diff) | |
download | rockbox-a84176122c2d9646c51637043d1d5e3d58a1e6be.tar.gz rockbox-a84176122c2d9646c51637043d1d5e3d58a1e6be.zip |
Fix two variable-set-but-not-used warnings
(found using -Os with gcc494 on the nano2g)
Change-Id: If0deee3e3cde50e6bf5aff595bebc0f134dcc393
Diffstat (limited to 'apps/plugins/test_boost.c')
-rw-r--r-- | apps/plugins/test_boost.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/test_boost.c b/apps/plugins/test_boost.c index b4beb5161a..bb9d943edf 100644 --- a/apps/plugins/test_boost.c +++ b/apps/plugins/test_boost.c | |||
@@ -40,6 +40,7 @@ enum plugin_status plugin_start(const void* parameter) | |||
40 | int j,x; | 40 | int j,x; |
41 | for (j=1; j<100000; j++) | 41 | for (j=1; j<100000; j++) |
42 | x = j*11; | 42 | x = j*11; |
43 | (void)x; | ||
43 | rb->screens[0]->clear_display(); | 44 | rb->screens[0]->clear_display(); |
44 | rb->screens[0]->putsf(0, 0, "%s: %d",boost?"boost":"normal",count); | 45 | rb->screens[0]->putsf(0, 0, "%s: %d",boost?"boost":"normal",count); |
45 | if (TIME_AFTER(*rb->current_tick, last_tick+HZ)) | 46 | if (TIME_AFTER(*rb->current_tick, last_tick+HZ)) |