mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
As pointed by Coverity, there were some null pointer checks that had been misplaced, due to a pointer dereference present in a preceding check. This had been fixed by adding another null check in the check, making a duplicate check. This patch moves the null pointer check in first place, and remove the pointer check from the range check to separate the pointer check on one side and the range check on the other side. Signed-off-by: Christophe CURIS <christophe.curis@free.fr> Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
7.2 KiB
7.2 KiB