Skip to content

Commit

Permalink
Lint and remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Jan 6, 2021
1 parent c7c5645 commit 90e2a93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/SimulationRunner.hh
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ namespace ignition

/// \brief Load server plugins for a given entity.
/// \param[in] _config Configuration to load plugins from.
/// \param[in] _injectLogPlugins Inject log playback or record
/// plugins based on the _config contents
public: void LoadServerPlugins(const ServerConfig &_config,
bool _injectLogPlugins=false);
bool _injectLogPlugins = false);

/// \brief Get whether this is running. When running is true,
/// then simulation is stepping forward.
Expand Down
3 changes: 0 additions & 3 deletions src/systems/log/LogRecord.cc
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,6 @@ bool LogRecordPrivate::Start(const std::string &_logPath,
}
ignmsg << "Recording to log file [" << dbPath << "]" << std::endl;

// Use ign-transport directly
//sdf::ElementPtr sdfWorld = sdfRoot->GetElement("world");

// Add default topics if no topics were specified.
std::string dynPoseTopic = "/world/" + this->worldName +
"/dynamic_pose/info";
Expand Down

0 comments on commit 90e2a93

Please sign in to comment.