subscriptions: dead code path removal for non-NULL event
commit7af0f6e0001a73ef88fe2926f8abdddb69ce1eb9
authorStefan Becker <chemobejk@gmail.com>
Mon, 8 Apr 2013 05:28:58 +0000 (8 08:28 +0300)
committerStefan Becker <chemobejk@gmail.com>
Mon, 8 Apr 2013 05:28:58 +0000 (8 08:28 +0300)
treeb5bad64d8181ff2eb95a081bdf1089adf91abda5
parent0b28b74d9395796f3a33d0b50c270a1faa127da3
subscriptions: dead code path removal for non-NULL event

"event" must never be NULL, therefore sipe_subscription_key() can never
return NULL. Remove the dead code paths and refactor code slightly.
src/core/sipe-subscriptions.c
src/core/sipe-subscriptions.h