forked from len0rd/rockbox
Fix several 'variable set but not used' warnings reported by GCC 6.4.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29871 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6484b45d71
commit
f7808c1fe5
13 changed files with 51 additions and 42 deletions
|
|
@ -96,13 +96,13 @@ void binbuf_text(t_binbuf *x, char *text, size_t size)
|
|||
{
|
||||
/* it's an atom other than a comma or semi */
|
||||
char c;
|
||||
int floatstate = 0, slash = 0, lastslash = 0,
|
||||
int floatstate = 0, slash = 0, /* lastslash = 0, */
|
||||
firstslash = (*textp == '\\');
|
||||
bufp = buf;
|
||||
do
|
||||
{
|
||||
c = *bufp = *textp++;
|
||||
lastslash = slash;
|
||||
/* lastslash = slash; */
|
||||
slash = (c == '\\');
|
||||
|
||||
if (floatstate >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue