diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-07-22 01:37:38 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2021-07-22 23:24:12 +0000 |
commit | 1fea6f467027e75b36e0d6456a4da075c3890ec9 (patch) | |
tree | e04befe65dae0efe53cf8714012a069ce60b0f3c | |
parent | 363f6595b4cdb5a734d3ef33a39350ff40c93654 (diff) | |
download | rockbox-1fea6f467027e75b36e0d6456a4da075c3890ec9.tar.gz rockbox-1fea6f467027e75b36e0d6456a4da075c3890ec9.zip |
plugins pong, properties remove dead code
Change-Id: I6645ff850a637343dde129600f0b5eaa2e4f6d31
-rw-r--r-- | apps/plugins/pong.c | 2 | ||||
-rw-r--r-- | apps/plugins/properties.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c index 4a2c48e94c..b49fec2459 100644 --- a/apps/plugins/pong.c +++ b/apps/plugins/pong.c | |||
@@ -535,7 +535,7 @@ static void ball(struct pong *p) | |||
535 | p->ball.x += p->ball.speedx; | 535 | p->ball.x += p->ball.speedx; |
536 | p->ball.y += p->ball.speedy; | 536 | p->ball.y += p->ball.speedy; |
537 | 537 | ||
538 | newx = p->ball.x/RES; | 538 | /*newx = p->ball.x/RES;*/ |
539 | newy = p->ball.y/RES; | 539 | newy = p->ball.y/RES; |
540 | 540 | ||
541 | /* detect if ball hits a wall */ | 541 | /* detect if ball hits a wall */ |
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index 9db9572d43..28f539f49f 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c | |||
@@ -195,7 +195,7 @@ static bool _dir_properties(DPS *dps) | |||
195 | dps->dc++; /* new directory */ | 195 | dps->dc++; /* new directory */ |
196 | if (*rb->current_tick - lasttick > (HZ/8)) | 196 | if (*rb->current_tick - lasttick > (HZ/8)) |
197 | { | 197 | { |
198 | unsigned log = human_size_log(dps->bc); | 198 | unsigned log; |
199 | lasttick = *rb->current_tick; | 199 | lasttick = *rb->current_tick; |
200 | rb->lcd_clear_display(); | 200 | rb->lcd_clear_display(); |
201 | rb->lcd_puts(0,0,"SCANNING..."); | 201 | rb->lcd_puts(0,0,"SCANNING..."); |