From 1fea6f467027e75b36e0d6456a4da075c3890ec9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 22 Jul 2021 01:37:38 -0400 Subject: [PATCH] plugins pong, properties remove dead code Change-Id: I6645ff850a637343dde129600f0b5eaa2e4f6d31 --- apps/plugins/pong.c | 2 +- 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) p->ball.x += p->ball.speedx; p->ball.y += p->ball.speedy; - newx = p->ball.x/RES; + /*newx = p->ball.x/RES;*/ newy = p->ball.y/RES; /* 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) dps->dc++; /* new directory */ if (*rb->current_tick - lasttick > (HZ/8)) { - unsigned log = human_size_log(dps->bc); + unsigned log; lasttick = *rb->current_tick; rb->lcd_clear_display(); rb->lcd_puts(0,0,"SCANNING...");