summaryrefslogtreecommitdiff
path: root/xkb/xkbEvents.c
diff options
context:
space:
mode:
authorPauli Nieminen <ext-pauli.nieminen@nokia.com>2010-07-22 15:05:57 +0300
committerPeter Hutterer <peter.hutterer@who-t.net>2010-09-01 14:42:59 +1000
commit67cfb66562cd9d39f30fec6fbc38eb1eb5e5b030 (patch)
tree44eb6940549bb4f8d57878aaf48c878fe9f698f3 /xkb/xkbEvents.c
parent2475ef60977f6813dec74ef0837a5915b8a48bbc (diff)
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>
Diffstat (limited to 'xkb/xkbEvents.c')
-rw-r--r--xkb/xkbEvents.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c
index 8028502b9..c020e5e2a 100644
--- a/xkb/xkbEvents.c
+++ b/xkb/xkbEvents.c
@@ -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;