[PATCH 3/4] scanner: Remove unused variable 'len'
Peter Hutterer
peter.hutterer at who-t.net
Wed Feb 22 21:55:40 PST 2012
scanner.c: In function ‘desc_dump’:
scanner.c:142:42: warning: unused variable ‘len’ [-Wunused-variable]
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/scanner.c | 2 +-
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++)
--
1.7.7.6
More information about the wayland-devel
mailing list