Fix "warning: unused variable XXX"
events.c:4614: warning: unused variable ‘kbd’ xkbUtils.c:361: warning: unused variable ‘maxKeysPerMod’ xf86Events.c:409: warning: unused variable ‘ke’ generic.c:131: warning: unused variable ‘cs’ generic.c:130: warning: unused variable ‘size’ xf86RandR12.c:591: warning: unused variable ‘crtc’ Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
111fdef74d
commit
bc57efffe6
|
@ -4611,7 +4611,6 @@ ProcQueryPointer(ClientPtr client)
|
||||||
xQueryPointerReply rep;
|
xQueryPointerReply rep;
|
||||||
WindowPtr pWin, t;
|
WindowPtr pWin, t;
|
||||||
DeviceIntPtr mouse = PickPointer(client);
|
DeviceIntPtr mouse = PickPointer(client);
|
||||||
DeviceIntPtr kbd = PickKeyboard(client);
|
|
||||||
SpritePtr pSprite;
|
SpritePtr pSprite;
|
||||||
int rc;
|
int rc;
|
||||||
REQUEST(xResourceReq);
|
REQUEST(xResourceReq);
|
||||||
|
|
|
@ -406,7 +406,6 @@ static void
|
||||||
xf86ReleaseKeys(DeviceIntPtr pDev)
|
xf86ReleaseKeys(DeviceIntPtr pDev)
|
||||||
{
|
{
|
||||||
KeyClassPtr keyc;
|
KeyClassPtr keyc;
|
||||||
xEvent ke;
|
|
||||||
int i, j, nevents, sigstate;
|
int i, j, nevents, sigstate;
|
||||||
|
|
||||||
if (!pDev || !pDev->key)
|
if (!pDev || !pDev->key)
|
||||||
|
|
|
@ -126,8 +126,7 @@ xf86ExtendedInitInt10(int entityIndex, int Flags)
|
||||||
int screen;
|
int screen;
|
||||||
legacyVGARec vga;
|
legacyVGARec vga;
|
||||||
|
|
||||||
#ifdef _PC
|
#if 0
|
||||||
int size;
|
|
||||||
CARD32 cs;
|
CARD32 cs;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -588,7 +588,6 @@ xf86RandR12CreateScreenResources (ScreenPtr pScreen)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
xf86OutputPtr output = config->output[config->compat_output];
|
xf86OutputPtr output = config->output[config->compat_output];
|
||||||
xf86CrtcPtr crtc = output->crtc;
|
|
||||||
|
|
||||||
if (output->conf_monitor &&
|
if (output->conf_monitor &&
|
||||||
(output->conf_monitor->mon_width > 0 &&
|
(output->conf_monitor->mon_width > 0 &&
|
||||||
|
|
|
@ -358,7 +358,7 @@ KeySymsPtr
|
||||||
XkbGetCoreMap(DeviceIntPtr keybd)
|
XkbGetCoreMap(DeviceIntPtr keybd)
|
||||||
{
|
{
|
||||||
register int key,tmp;
|
register int key,tmp;
|
||||||
int maxSymsPerKey,maxKeysPerMod, maxGroup1Width;
|
int maxSymsPerKey, maxGroup1Width;
|
||||||
XkbDescPtr xkb;
|
XkbDescPtr xkb;
|
||||||
KeySymsPtr syms;
|
KeySymsPtr syms;
|
||||||
int maxNumberOfGroups;
|
int maxNumberOfGroups;
|
||||||
|
|
Loading…
Reference in New Issue