From: Torsten Dreyer Date: Wed, 12 Mar 2014 21:42:51 +0000 (+0100) Subject: NasalSys: arg is never null X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aaa7fca621dc775a18104921048946a5631deb6b;p=flightgear.git NasalSys: arg is never null --- diff --git a/src/Scripting/NasalSys.cxx b/src/Scripting/NasalSys.cxx index b2f08fe01..e658ccc55 100644 --- a/src/Scripting/NasalSys.cxx +++ b/src/Scripting/NasalSys.cxx @@ -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 ); }