dix: remove a truly useless a = (foo) ? bar : bar; statement.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
62183a06e5
commit
844bb629fe
|
@ -1680,7 +1680,7 @@ AllowSome(ClientPtr client,
|
||||||
{
|
{
|
||||||
if (dev == thisDev)
|
if (dev == thisDev)
|
||||||
continue;
|
continue;
|
||||||
devgrabinfo = (core) ? &dev->deviceGrab : &dev->deviceGrab;
|
devgrabinfo = &dev->deviceGrab;
|
||||||
if (devgrabinfo->grab
|
if (devgrabinfo->grab
|
||||||
&& SameClient(devgrabinfo->grab, client))
|
&& SameClient(devgrabinfo->grab, client))
|
||||||
devgrabinfo->sync.state = THAWED;
|
devgrabinfo->sync.state = THAWED;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user