warning: defined but not used

clean up whitespace.
This commit is contained in:
Scott Giese 2020-11-23 16:11:08 -06:00
parent c469f072f1
commit 20bcb0f245

View File

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