WINGs: remove unreachable code in paintMenuEntry (Coverity #50042)
commit24e223dc27ab704e35dc275f568e9035069b81c2
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 18 May 2014 19:31:39 +0000 (18 21:31 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 18 May 2014 22:01:43 +0000 (18 23:01 +0100)
tree2042cb46b4c22b5fa995c6936fca086dfefdf889
parentab3057c68d8f7556fc9995713c69a641f71b05be
WINGs: remove unreachable code in paintMenuEntry (Coverity #50042)

As pointed by coverity, the case 'index < 0' cannot be true because it was
already earlier and handled with an early return.

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