]> git.mxchange.org Git - simgear.git/commitdiff
remove the last redundant "delete" check in all of fgfs/sg (except JSBSim)
authormfranz <mfranz>
Wed, 5 Jul 2006 09:31:36 +0000 (09:31 +0000)
committermfranz <mfranz>
Wed, 5 Jul 2006 09:31:36 +0000 (09:31 +0000)
simgear/scene/sky/bbcache.cxx

index 26980d1e84c2d0e6bf9f34437012bf615e556b4a..fedfc1fdfc9fe174b7a4eb83dfe83a8fe6e8ce45 100644 (file)
@@ -102,8 +102,7 @@ SGBbCache::SGBbCache(void) :
 }
 
 SGBbCache::~SGBbCache(void) {
-       if(rt)
-               delete rt;
+       delete rt;
        freeTextureMemory();
 }