wmaker: remove checks on variables that have already been checked
commitd31472773b97de0e1df8cbf60ae46abd958f5aeb
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 4 Jul 2014 21:28:41 +0000 (4 23:28 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 6 Jul 2014 00:07:55 +0000 (6 01:07 +0100)
tree65362ea2d66e138ccf33b7f0563fcaf64e15792d
parent30c8c1c6459d5a6403ce3921df4c96d76f23327b
wmaker: remove checks on variables that have already been checked

In the function that creates the background image for the switch panel
there are a number of checks on the size of the image, but this has
already been checked at the beginning of the function with an early return
in this case.

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