]> git.mxchange.org Git - flightgear.git/commitdiff
NasalSys: arg is never null
authorTorsten Dreyer <torsten@t3r.de>
Wed, 12 Mar 2014 21:42:51 +0000 (22:42 +0100)
committerTorsten Dreyer <torsten@t3r.de>
Wed, 12 Mar 2014 21:42:51 +0000 (22:42 +0100)
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 );
 }