summaryrefslogtreecommitdiff
path: root/apps/plugins/brickmania.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-22 13:53:31 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-22 13:53:31 +0000
commit96b21753bc12c601359f2c0e9acaeb81ad671bdc (patch)
tree3aac8e116264c25820d4f330a43ebc482b2bd64e /apps/plugins/brickmania.c
parent4dad30d0386c07486e2e17908af5bbd290b54906 (diff)
downloadrockbox-96b21753bc12c601359f2c0e9acaeb81ad671bdc.zip
rockbox-96b21753bc12c601359f2c0e9acaeb81ad671bdc.tar.gz
rockbox-96b21753bc12c601359f2c0e9acaeb81ad671bdc.tar.bz2
rockbox-96b21753bc12c601359f2c0e9acaeb81ad671bdc.tar.xz
Fix some residual 'defined but not used' warnings by GCC 4.6.0 for touchscreen targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29910 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/brickmania.c')
-rw-r--r--apps/plugins/brickmania.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index 379aadf..59059b8 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -2235,10 +2235,9 @@ static int brickmania_game_loop(void)
if( move_button & BUTTON_TOUCHSCREEN)
{
int data;
- short touch_x, touch_y;
+ short touch_x;
rb->button_status_wdata(&data);
touch_x = FIXED3(data >> 16);
- touch_y = FIXED3(data & 0xffff);
if(flip_sides)
{