mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-04 14:30:13 +01:00
xkb: Remove redurant intialization code
calloc already initializes allocated memory to zero. Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
2475ef6097
commit
67cfb66562
1 changed files with 0 additions and 9 deletions
|
|
@ -1045,15 +1045,6 @@ XkbInterestPtr interest;
|
|||
interest->dev = dev;
|
||||
interest->client = client;
|
||||
interest->resource = id;
|
||||
interest->stateNotifyMask= 0;
|
||||
interest->ctrlsNotifyMask= 0;
|
||||
interest->namesNotifyMask= 0;
|
||||
interest->compatNotifyMask= 0;
|
||||
interest->bellNotifyMask= FALSE;
|
||||
interest->accessXNotifyMask= 0;
|
||||
interest->iStateNotifyMask= 0;
|
||||
interest->iMapNotifyMask= 0;
|
||||
interest->altSymsNotifyMask= 0;
|
||||
interest->next = dev->xkb_interest;
|
||||
dev->xkb_interest= interest;
|
||||
return interest;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue