From: frohlich Date: Sun, 7 Jun 2009 11:23:54 +0000 (+0000) Subject: No need to zero the _props variable. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ee9dc0c93a55368832d7e87bc017dcdc0778dbe8;p=flightgear.git No need to zero the _props variable. This reference is released by the SGSharedPtr destructor anyway. Modified Files: src/Scripting/NasalSys.cxx --- diff --git a/src/Scripting/NasalSys.cxx b/src/Scripting/NasalSys.cxx index 215f00701..b76d72215 100644 --- a/src/Scripting/NasalSys.cxx +++ b/src/Scripting/NasalSys.cxx @@ -1127,7 +1127,6 @@ void FGNasalModelData::modelLoaded(const string& path, SGPropertyNode *prop, arg[1] = nasalSys->propNodeGhost(prop); nasalSys->createModule(_module.c_str(), path.c_str(), s, strlen(s), _root, 2, arg); - _props = 0; } FGNasalModelData::~FGNasalModelData()