From 0d3ca0032d60f6ced6432c08b75b68218e75c79d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 15 Oct 2007 23:07:25 +0000 Subject: [PATCH] Fix warnings in test_fps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15130 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_fps.c | 4 +--- 1 file changed, 1 insertion(+), 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 */