xkb: remove unused label "out", clean up program flow.
This commit is contained in:
parent
971aef6441
commit
0a076b6a7f
|
@ -81,12 +81,10 @@ _XkbLookupAnyDevice(DeviceIntPtr *pDev, int id, ClientPtr client,
|
|||
|
||||
if (id == XkbUseCoreKbd) {
|
||||
id = PickKeyboard(client)->id;
|
||||
}
|
||||
if (id == XkbUseCorePtr) {
|
||||
} else if (id == XkbUseCorePtr) {
|
||||
id = PickPointer(client)->id;
|
||||
}
|
||||
rc = dixLookupDevice(pDev, id, client, access_mode);
|
||||
out:
|
||||
if (rc != Success)
|
||||
*xkb_err = XkbErr_BadDevice;
|
||||
return rc;
|
||||
|
|
Loading…
Reference in New Issue
Block a user