]> git.itanic.dy.fi Git - sdl-planets/commit
quadtree: Remove redundant validity test
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Wed, 13 Jul 2011 16:43:10 +0000 (19:43 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Wed, 13 Jul 2011 17:05:06 +0000 (20:05 +0300)
commit5eb47392e0b0b51117b705718f774722a97b99ac
tree153d65c733e8073d5927a830a8686701c8594055
parent1fac4daf508b92926d5fd0b4fc9785e70b403279
quadtree: Remove redundant validity test

The sole purpose of this test wast to see whether the subtree was
removed correctly. If such condition exists, the failure will be
caught in the quadtree_del function. This test should be removed since
it causes unnecessary runtime overhead also on the non-debug build.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
quadtree.c