Xi: fix two compiler warnings

unused variable in exevents.c
implicit declaration in warpdevp.c
This commit is contained in:
Peter Hutterer 2008-04-25 11:02:12 +09:30
parent 6015b7a812
commit c14b858aec
2 changed files with 1 additions and 1 deletions

View File

@ -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);

View File

@ -48,6 +48,7 @@ from the author.
#include "extnsionst.h"
#include "exevents.h"
#include "exglobals.h"
#include "mipointer.h" /* for miPointerUpdateSprite */
#include "warpdevp.h"