stack-of-tasks / sot-core

Hierarchical task solver plug-in for dynamic-graph
BSD 2-Clause "Simplified" License
19 stars 32 forks source link

Fix warnings #162

Closed Rascof closed 3 years ago

Rascof commented 4 years ago

Fix warnings: In file included from /home/rascof/sot-core/include/sot/core/parameter-server.hh:42:0, from /home/rascof/sot-core/src/tools/parameter-server.cpp:39: /home/rascof/sot-core/include/sot/core/robot-utils.hh: In member function ‘Type dynamicgraph::sot::RobotUtil::get_parameter(const string&) [with Type = bool]’: /home/rascof/sot-core/include/sot/core/robot-utils.hh:309:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/rascof/sot-core/include/sot/core/robot-utils.hh: In member function ‘Type dynamicgraph::sot::RobotUtil::get_parameter(const string&) [with Type = double]’: /home/rascof/sot-core/include/sot/core/robot-utils.hh:309:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/rascof/sot-core/include/sot/core/robot-utils.hh: In member function ‘Type dynamicgraph::sot::RobotUtil::get_parameter(const string&) [with Type = int]’: /home/rascof/sot-core/include/sot/core/robot-utils.hh:309:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/rascof/sot-core/include/sot/core/robot-utils.hh: In member function ‘Type dynamicgraph::sot::RobotUtil::get_parameter(const string&) [with Type = std::__cxx11::basic_string<char>]’: /home/rascof/sot-core/include/sot/core/robot-utils.hh:309:3: warning: control reaches end of non-void function [-Wreturn-type] } ^

nim65s commented 3 years ago

replaced by #192