]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scripting/NasalSys.cxx
NasalSys: arg is never null
[flightgear.git] / src / Scripting / NasalSys.cxx
index b2f08fe01263097d4736168484664963b6ef5ec5..e658ccc5561fcc2a8f10f2016bc8238ab5922816 100644 (file)
@@ -1151,7 +1151,7 @@ bool FGNasalSys::handleCommand(const SGPropertyNode* arg)
   const char* moduleName = arg->getStringValue("module");
 
   return handleCommand( moduleName,
-                        arg ? arg->getPath(true).c_str() : moduleName,
+                        arg->getPath(true).c_str(),
                         src,
                         arg );
 }