warning: defined but not used
clean up whitespace.
This commit is contained in:
@@ -841,8 +841,10 @@ SGSubsystemGroup::Member::update (double delta_time_sec)
|
|||||||
namespace {
|
namespace {
|
||||||
SGSubsystemMgr* global_defaultSubsystemManager = nullptr;
|
SGSubsystemMgr* global_defaultSubsystemManager = nullptr;
|
||||||
|
|
||||||
|
// disabled until subsystemfactory is removed from FlightGear
|
||||||
|
#if 0
|
||||||
void registerSubsystemCommands();
|
void registerSubsystemCommands();
|
||||||
|
#endif
|
||||||
} // end of anonymous namespace
|
} // end of anonymous namespace
|
||||||
|
|
||||||
SGSubsystemMgr::SGSubsystemMgr () :
|
SGSubsystemMgr::SGSubsystemMgr () :
|
||||||
@@ -1253,7 +1255,8 @@ SGSubsystemMgr::root_node() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
// disabled until subsystemfactory is removed from FlightGear
|
||||||
|
#if 0
|
||||||
bool
|
bool
|
||||||
do_check_subsystem_running(const SGPropertyNode * arg, SGPropertyNode * root)
|
do_check_subsystem_running(const SGPropertyNode * arg, SGPropertyNode * root)
|
||||||
{
|
{
|
||||||
@@ -1261,7 +1264,6 @@ namespace {
|
|||||||
return (manager->get_subsystem(arg->getStringValue("name")) != nullptr);
|
return (manager->get_subsystem(arg->getStringValue("name")) != nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SGSubsystemMgr::GroupType mapGroupNameToType(const std::string& s)
|
SGSubsystemMgr::GroupType mapGroupNameToType(const std::string& s)
|
||||||
{
|
{
|
||||||
if (s == "init") return SGSubsystemMgr::INIT;
|
if (s == "init") return SGSubsystemMgr::INIT;
|
||||||
@@ -1447,7 +1449,7 @@ namespace {
|
|||||||
commandManager->addCommand(b.name, b.command);
|
commandManager->addCommand(b.name, b.command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
} // anonymous namespace implementing subsystem commands
|
} // anonymous namespace implementing subsystem commands
|
||||||
|
|
||||||
// end of subsystem_mgr.cxx
|
// end of subsystem_mgr.cxx
|
||||||
|
|||||||
Reference in New Issue
Block a user