1
0
Fork 0
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:
Andree Buschmann 2011-05-13 18:47:42 +00:00
parent 6484b45d71
commit f7808c1fe5
13 changed files with 51 additions and 42 deletions

View file

@ -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)