diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-10-15 23:07:25 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-10-15 23:07:25 +0000 |
commit | 0d3ca0032d60f6ced6432c08b75b68218e75c79d (patch) | |
tree | 2b694650c1047e8fce8e072b6442108ea371362a /apps/plugins/test_fps.c | |
parent | b85b6be3aa05510a1aca173a6f5a762c4448fdae (diff) | |
download | rockbox-0d3ca0032d60f6ced6432c08b75b68218e75c79d.tar.gz rockbox-0d3ca0032d60f6ced6432c08b75b68218e75c79d.zip |
Fix warnings in test_fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15130 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_fps.c')
-rw-r--r-- | apps/plugins/test_fps.c | 4 |
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] = { | |||
143 | (void*)vdata | 143 | (void*)vdata |
144 | }; | 144 | }; |
145 | 145 | ||
146 | static void make_gradient_rect(width, height) | 146 | static void make_gradient_rect(int width, int height) |
147 | { | 147 | { |
148 | unsigned char vline[YUV_WIDTH/2]; | 148 | unsigned char vline[YUV_WIDTH/2]; |
149 | int x, y; | 149 | int x, y; |
@@ -173,8 +173,6 @@ static void time_main_yuv(void) | |||
173 | const int part14_y = YUV_HEIGHT/4; /* y-offset for 1/4 update test */ | 173 | const int part14_y = YUV_HEIGHT/4; /* y-offset for 1/4 update test */ |
174 | const int part14_h = YUV_HEIGHT/2; /* y-size for 1/4 update test */ | 174 | const int part14_h = YUV_HEIGHT/2; /* y-size for 1/4 update test */ |
175 | 175 | ||
176 | int x, y; | ||
177 | |||
178 | rb->memset(ydata, 128, sizeof(ydata)); /* medium grey */ | 176 | rb->memset(ydata, 128, sizeof(ydata)); /* medium grey */ |
179 | 177 | ||
180 | /* Test 1: full LCD update */ | 178 | /* Test 1: full LCD update */ |