forked from len0rd/rockbox
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
This commit is contained in:
parent
08fb3f6574
commit
f7c4594134
17 changed files with 344 additions and 355 deletions
|
|
@ -474,7 +474,6 @@ static int skin_parse_tag(struct skin_element* element, const char** document)
|
|||
int num_args = 1;
|
||||
int i;
|
||||
int star = 0; /* Flag for the all-or-none option */
|
||||
int req_args; /* To mark when we enter optional arguments */
|
||||
|
||||
int optional = 0;
|
||||
tag_recursion_level++;
|
||||
|
|
@ -597,7 +596,6 @@ static int skin_parse_tag(struct skin_element* element, const char** document)
|
|||
if(*tag_args == '|')
|
||||
{
|
||||
optional = 1;
|
||||
req_args = i;
|
||||
tag_args++;
|
||||
}
|
||||
|
||||
|
|
@ -775,7 +773,6 @@ static int skin_parse_tag(struct skin_element* element, const char** document)
|
|||
if(*tag_args == '|')
|
||||
{
|
||||
optional = 1;
|
||||
req_args = i + 1;
|
||||
tag_args++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue