summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-01-03 12:42:58 -0500
committerAdam Jackson <ajax@redhat.com>2011-01-03 12:42:58 -0500
commit26af626a2c4afba858a32bbb42077f8661d3de4f (patch)
tree6e4648f555e486fba1dc233725e371ab424351e3
parent492c14cdd1c4b950c475633a64086235d3550f5b (diff)
linux: warning fixes
lnx_KbdMap.c: In function 'KbdGetMapping': lnx_KbdMap.c:44:17: warning: unused variable 'type' lnx_KbdMap.c:42:13: warning: unused variable 'pKbd' Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/lnx_KbdMap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lnx_KbdMap.c b/src/lnx_KbdMap.c
index 2121c5f..a066d0d 100644
--- a/src/lnx_KbdMap.c
+++ b/src/lnx_KbdMap.c
@@ -39,9 +39,7 @@ static void readKernelMapping(InputInfoPtr pInfo,
void
KbdGetMapping (InputInfoPtr pInfo, KeySymsPtr pKeySyms, CARD8 *pModMap)
{
- KbdDevPtr pKbd = (KbdDevPtr) pInfo->private;
KeySym *k;
- char type;
int i;
readKernelMapping(pInfo, pKeySyms, pModMap);