wmaker: remove unnecessary null pointer checks in handle_event of wsmap
commit4bed8d14d77e5c66a5f635cc730c3458a1a292a5
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 7 Dec 2014 16:10:16 +0000 (7 17:10 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 10 Dec 2014 10:19:18 +0000 (10 10:19 +0000)
treec73df8d80d2068cf4879f3d70c9a71654be70316
parentad84a2dc8f59e05502928c8d5d4ab5d92e22321b
wmaker: remove unnecessary null pointer checks in handle_event of wsmap

The function is called only if wsmap is not null, and the function is not
modifying its value so it won't become null. Removed the checks to keep the
code as simple as possible for maintainability.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/wsmap.c