summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-01-23 14:56:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-02-23 15:53:15 +1000
commite0a39a5d8c722ee3a8e893a2b7b4f9f6afc302bc (patch)
tree09abea1119980fd9584524e3e091e81ebab54027
parent4948186a822eb8b51fe1e8d4167361f502a0655f (diff)
scanner: Remove unused variable 'len'
scanner.c: In function ‘desc_dump’: scanner.c:142:42: warning: unused variable ‘len’ [-Wunused-variable] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.c b/src/scanner.c
index 699782f..91e2ad2 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -139,7 +139,7 @@ uppercase_dup(const char *src)
static void
desc_dump(char *src, int startcol)
{
- int i, j = 0, col = startcol, line = 0, len;
+ int i, j = 0, col = startcol, line = 0;
/* Strip leading space */
for (i = 0; isspace(src[i]); i++)