diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-25 11:02:12 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-25 14:29:05 +0930 |
commit | c14b858aeced81ff43723644f2de0f5c43f55755 (patch) | |
tree | 5e71fdbc821bfa87245f322bbe774fd6c6aa3632 /Xi | |
parent | 6015b7a81252cd1729e6f4045f9b0c885c95b183 (diff) |
Xi: fix two compiler warnings
unused variable in exevents.c
implicit declaration in warpdevp.c
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/exevents.c | 1 | ||||
-rw-r--r-- | Xi/warpdevp.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index a828044fa..a83d5edb3 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -952,7 +952,6 @@ ProcessOtherEvent(xEventPtr xE, DeviceIntPtr device, int count) KeyClassPtr k; ValuatorClassPtr v; deviceValuator *xV = (deviceValuator *) xE; - int coretype = 0; int ret = 0; ret = UpdateDeviceState(device, xE, count); diff --git a/Xi/warpdevp.c b/Xi/warpdevp.c index 26081eb59..21fe22c12 100644 --- a/Xi/warpdevp.c +++ b/Xi/warpdevp.c @@ -48,6 +48,7 @@ from the author. #include "extnsionst.h" #include "exevents.h" #include "exglobals.h" +#include "mipointer.h" /* for miPointerUpdateSprite */ #include "warpdevp.h" |