Kill compilation warnings.
Signed-off-by: Marcin Baczyński <marbacz@gmail.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
15b30fde17
commit
d886008c96
|
@ -726,12 +726,15 @@ xf86PostMotionEventP(DeviceIntPtr device,
|
|||
int *valuators)
|
||||
{
|
||||
int i = 0, nevents = 0;
|
||||
int dx = 0, dy = 0;
|
||||
Bool drag = xf86SendDragEvents(device);
|
||||
DeviceEvent *event;
|
||||
int index;
|
||||
int flags = 0;
|
||||
|
||||
#if XFreeXDGA
|
||||
int index;
|
||||
int dx = 0, dy = 0;
|
||||
#endif
|
||||
|
||||
XI_VERIFY_VALUATORS(num_valuators);
|
||||
|
||||
if (is_absolute)
|
||||
|
@ -856,9 +859,12 @@ xf86PostButtonEventP(DeviceIntPtr device,
|
|||
int *valuators)
|
||||
{
|
||||
int i = 0, nevents = 0;
|
||||
int index;
|
||||
int flags = 0;
|
||||
|
||||
#if XFreeXDGA
|
||||
int index;
|
||||
#endif
|
||||
|
||||
XI_VERIFY_VALUATORS(num_valuators);
|
||||
|
||||
if (is_absolute)
|
||||
|
|
|
@ -115,7 +115,9 @@ static void CMapDestroyColormap (ColormapPtr);
|
|||
|
||||
static Bool CMapEnterVT(int, int);
|
||||
static Bool CMapSwitchMode(int, DisplayModePtr, int);
|
||||
#ifdef XFreeXDGA
|
||||
static int CMapSetDGAMode(int, int, DGADevicePtr);
|
||||
#endif
|
||||
static int CMapChangeGamma(int, Gamma);
|
||||
|
||||
static void ComputeGamma(CMapScreenPtr);
|
||||
|
|
Loading…
Reference in New Issue
Block a user