]> git.mxchange.org Git - flightgear.git/commit
remove redundant if check in cases of if (foo) delete foo;
authormfranz <mfranz>
Fri, 20 Jul 2007 14:46:45 +0000 (14:46 +0000)
committermfranz <mfranz>
Fri, 20 Jul 2007 14:46:45 +0000 (14:46 +0000)
commit5c912ffad96c21c6836e89d2d73bc02c1871a5fa
tree03fc8971c80c6475a121712913b044a57af31278
parentda77779436ca836191a4eef7bcc0e08977ab315f
remove redundant if check in cases of  if (foo) delete foo;
The C++ standard explicitly allows deleting a null pointer.
src/AIModel/AIFlightPlan.cxx
src/AIModel/AIFlightPlanCreate.cxx