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:
Peter Hutterer 2009-03-19 15:44:34 +10:00
parent 62183a06e5
commit 844bb629fe

View File

@ -1680,7 +1680,7 @@ AllowSome(ClientPtr client,
{
if (dev == thisDev)
continue;
devgrabinfo = (core) ? &dev->deviceGrab : &dev->deviceGrab;
devgrabinfo = &dev->deviceGrab;
if (devgrabinfo->grab
&& SameClient(devgrabinfo->grab, client))
devgrabinfo->sync.state = THAWED;