wmaker: removed unnecessary check when painting application icon (Coverity #50052)
commit3d9c059591486dd65d4ce2a3be81c1e68a9a0c04
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 15 Nov 2014 18:40:38 +0000 (15 19:40 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 23 Nov 2014 22:42:19 +0000 (23 22:42 +0000)
treef6a56701a03d064f5087ae73c5ce4fe19c219734
parent810796b390083161aed4edef91a1c6664057e505
wmaker: removed unnecessary check when painting application icon (Coverity #50052)

As pointed by Coverity, there was a check for null pointer on
scr->dock_dots, but this check was not made in the 2nd use of it, done if
the HIDDENDOT feature was enabled.

Investigation show that it is not possible that this pointer could be
created NULL, so let's remove the unneeded check.

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