Eliminate remaining gcc warnings
authorDaniel Stone <daniel@fooishbar.org>
Tue, 3 Apr 2012 13:26:04 +0000 (14:26 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 9 Apr 2012 12:47:23 +0000 (13:47 +0100)
commit632d9f0336a3fb0721fbecc34b67e15d0ddbc69b
tree1ef3496096eeb3ce16c148e203d6d778f4d2546a
parent495d87b06d19380e22ca100b7e48a7c8ef5dea39
Eliminate remaining gcc warnings

Various one-liners (mostly removing unused variables) to make the code
safe for the full set of warnings used by the xorg macros.

On Debian-based systems, flex generates incorrect code resulting in two
warnings about yy_getcolumn and yy_setcolumn having no previous
declaration despite being non-static.  Fedora carries a patch to fix
this, and a bug has been filed on Debian's flex to add the patch:
http://bugs.debian.org/667027

Aside from this, it's now safe for --enable-strict-compilation.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/context.c
src/keysym.c
src/malloc.c
src/xkbcomp/symbols.c