wmaker: remove unnecessary null check in readMenuDirectory (Coverity #50190)
commit7013b72dce15fceef065e506b2cf03ab28b34e21
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 15 Nov 2014 18:40:49 +0000 (15 19:40 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 23 Nov 2014 22:43:37 +0000 (23 22:43 +0000)
tree618375271c2152633187e12f31a33443cfca9c37
parentde5ef8c4f18dc98a0e2bd646e3dcc1192575cace
wmaker: remove unnecessary null check in readMenuDirectory (Coverity #50190)

As pointed by Coverity, the pointer cannot be null, otherwise the code
would have crashed earlier. As the code seems to always set a valid
pointer, there's no need to make a check there.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
src/rootmenu.c