projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b54a14
)
scanner: Remove unused variable 'len'
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 23 Feb 2012 05:55:40 +0000
(15:55 +1000)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 23 Feb 2012 20:45:03 +0000
(15:45 -0500)
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>
src/scanner.c
patch
|
blob
|
history
diff --git
a/src/scanner.c
b/src/scanner.c
index
699782f
..
91e2ad2
100644
(file)
--- 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++)