From aaa7fca621dc775a18104921048946a5631deb6b Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Wed, 12 Mar 2014 22:42:51 +0100 Subject: [PATCH] NasalSys: arg is never null --- src/Scripting/NasalSys.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.2