diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-01 13:48:28 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-01 13:48:28 +0000 |
commit | f7c45941344ecfbcdd5d9b311b61573d37c6ef58 (patch) | |
tree | 4c2fa595d7209694dd30b0e0b349a0a44116d712 /apps/plugins/bubbles.c | |
parent | 08fb3f65745a237e2c1eae55d856ff27702246e5 (diff) | |
download | rockbox-f7c45941344ecfbcdd5d9b311b61573d37c6ef58.tar.gz rockbox-f7c45941344ecfbcdd5d9b311b61573d37c6ef58.zip |
Fix further 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29809 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bubbles.c')
-rw-r--r-- | apps/plugins/bubbles.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index 1a2f96ddfa..d9f76f7f72 100644 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c | |||
@@ -1953,7 +1953,7 @@ static int bubbles_remove(struct game_context* bb) { | |||
1953 | ******************************************************************************/ | 1953 | ******************************************************************************/ |
1954 | static void bubbles_anchored(struct game_context* bb, int row, int col) { | 1954 | static void bubbles_anchored(struct game_context* bb, int row, int col) { |
1955 | int i, adj; | 1955 | int i, adj; |
1956 | int myrow, mycol, mytype; | 1956 | int myrow, mycol; |
1957 | int count = 0; | 1957 | int count = 0; |
1958 | 1958 | ||
1959 | struct coord { | 1959 | struct coord { |
@@ -1971,7 +1971,6 @@ static void bubbles_anchored(struct game_context* bb, int row, int col) { | |||
1971 | for(i=0; i<count; i++) { | 1971 | for(i=0; i<count; i++) { |
1972 | myrow = search[i].row; | 1972 | myrow = search[i].row; |
1973 | mycol = search[i].col; | 1973 | mycol = search[i].col; |
1974 | mytype = bb->playboard[myrow][mycol].type; | ||
1975 | adj = myrow%2; | 1974 | adj = myrow%2; |
1976 | 1975 | ||
1977 | if(mycol-1 >= 0) { | 1976 | if(mycol-1 >= 0) { |