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 /lib/skin_parser/skin_parser.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 'lib/skin_parser/skin_parser.c')
-rw-r--r-- | lib/skin_parser/skin_parser.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/skin_parser/skin_parser.c b/lib/skin_parser/skin_parser.c index 1916111e09..c4bd78c8ee 100644 --- a/lib/skin_parser/skin_parser.c +++ b/lib/skin_parser/skin_parser.c | |||
@@ -474,7 +474,6 @@ static int skin_parse_tag(struct skin_element* element, const char** document) | |||
474 | int num_args = 1; | 474 | int num_args = 1; |
475 | int i; | 475 | int i; |
476 | int star = 0; /* Flag for the all-or-none option */ | 476 | int star = 0; /* Flag for the all-or-none option */ |
477 | int req_args; /* To mark when we enter optional arguments */ | ||
478 | 477 | ||
479 | int optional = 0; | 478 | int optional = 0; |
480 | tag_recursion_level++; | 479 | tag_recursion_level++; |
@@ -597,7 +596,6 @@ static int skin_parse_tag(struct skin_element* element, const char** document) | |||
597 | if(*tag_args == '|') | 596 | if(*tag_args == '|') |
598 | { | 597 | { |
599 | optional = 1; | 598 | optional = 1; |
600 | req_args = i; | ||
601 | tag_args++; | 599 | tag_args++; |
602 | } | 600 | } |
603 | 601 | ||
@@ -775,7 +773,6 @@ static int skin_parse_tag(struct skin_element* element, const char** document) | |||
775 | if(*tag_args == '|') | 773 | if(*tag_args == '|') |
776 | { | 774 | { |
777 | optional = 1; | 775 | optional = 1; |
778 | req_args = i + 1; | ||
779 | tag_args++; | 776 | tag_args++; |
780 | } | 777 | } |
781 | } | 778 | } |