summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-10-15 23:07:25 +0000
committerJens Arnold <amiconn@rockbox.org>2007-10-15 23:07:25 +0000
commit0d3ca0032d60f6ced6432c08b75b68218e75c79d (patch)
tree2b694650c1047e8fce8e072b6442108ea371362a
parentb85b6be3aa05510a1aca173a6f5a762c4448fdae (diff)
downloadrockbox-0d3ca0032d60f6ced6432c08b75b68218e75c79d.tar.gz
rockbox-0d3ca0032d60f6ced6432c08b75b68218e75c79d.tar.bz2
rockbox-0d3ca0032d60f6ced6432c08b75b68218e75c79d.zip
Fix warnings in test_fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15130 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/test_fps.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index 2da1d92d99..cd091e8e04 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -143,7 +143,7 @@ static unsigned char * const yuvbuf[3] = {
(void*)vdata
};
-static void make_gradient_rect(width, height)
+static void make_gradient_rect(int width, int height)
{
unsigned char vline[YUV_WIDTH/2];
int x, y;
@@ -173,8 +173,6 @@ static void time_main_yuv(void)
const int part14_y = YUV_HEIGHT/4; /* y-offset for 1/4 update test */
const int part14_h = YUV_HEIGHT/2; /* y-size for 1/4 update test */
- int x, y;
-
rb->memset(ydata, 128, sizeof(ydata)); /* medium grey */
/* Test 1: full LCD update */