From: mfranz Date: Wed, 5 Jul 2006 09:31:36 +0000 (+0000) Subject: remove the last redundant "delete" check in all of fgfs/sg (except JSBSim) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a0412d026cb5ccd1eeed21c1d520160366ee384f;p=simgear.git remove the last redundant "delete" check in all of fgfs/sg (except JSBSim) --- diff --git a/simgear/scene/sky/bbcache.cxx b/simgear/scene/sky/bbcache.cxx index 26980d1e..fedfc1fd 100644 --- a/simgear/scene/sky/bbcache.cxx +++ b/simgear/scene/sky/bbcache.cxx @@ -102,8 +102,7 @@ SGBbCache::SGBbCache(void) : } SGBbCache::~SGBbCache(void) { - if(rt) - delete rt; + delete rt; freeTextureMemory(); }