diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-13 18:47:42 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-13 18:47:42 +0000 |
commit | f7808c1fe5578e0d789fe7d9181e3502482507b8 (patch) | |
tree | f1cf93ff36c5a59e676b1fb9fee3e3c25162e497 /apps/plugins/pdbox/PDa/src/m_binbuf.c | |
parent | 6484b45d711661c97c5d349065903c40f11ca579 (diff) | |
download | rockbox-f7808c1fe5578e0d789fe7d9181e3502482507b8.tar.gz rockbox-f7808c1fe5578e0d789fe7d9181e3502482507b8.zip |
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
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/m_binbuf.c')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/m_binbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/PDa/src/m_binbuf.c b/apps/plugins/pdbox/PDa/src/m_binbuf.c index b7c9a925d4..1665e213b9 100644 --- a/apps/plugins/pdbox/PDa/src/m_binbuf.c +++ b/apps/plugins/pdbox/PDa/src/m_binbuf.c | |||
@@ -96,13 +96,13 @@ void binbuf_text(t_binbuf *x, char *text, size_t size) | |||
96 | { | 96 | { |
97 | /* it's an atom other than a comma or semi */ | 97 | /* it's an atom other than a comma or semi */ |
98 | char c; | 98 | char c; |
99 | int floatstate = 0, slash = 0, lastslash = 0, | 99 | int floatstate = 0, slash = 0, /* lastslash = 0, */ |
100 | firstslash = (*textp == '\\'); | 100 | firstslash = (*textp == '\\'); |
101 | bufp = buf; | 101 | bufp = buf; |
102 | do | 102 | do |
103 | { | 103 | { |
104 | c = *bufp = *textp++; | 104 | c = *bufp = *textp++; |
105 | lastslash = slash; | 105 | /* lastslash = slash; */ |
106 | slash = (c == '\\'); | 106 | slash = (c == '\\'); |
107 | 107 | ||
108 | if (floatstate >= 0) | 108 | if (floatstate >= 0) |