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 #163

Closed Rascof closed 3 years ago

Rascof commented 4 years ago

Fix warnings: sot-core/include/sot/core/parameter-server.hh: In member function ‘Type dynamicgraph::sot::ParameterServer::getParameter(const string&) [with Type = bool]’: sot-core/include/sot/core/parameter-server.hh:123:14: warning: ‘ParameterValue’ may be used uninitialized in this function [-Wmaybe-uninitialized] return ParameterValue; ^~~~~~~~~~~~~~ sot-core/include/sot/core/parameter-server.hh: In member function ‘Type dynamicgraph::sot::ParameterServer::getParameter(const string&) [with Type = double]’: sot-core/include/sot/core/parameter-server.hh:123:14: warning: ‘ParameterValue’ may be used uninitialized in this function [-Wmaybe-uninitialized] return ParameterValue; ^~~~~~~~~~~~~~ sot-core/include/sot/core/parameter-server.hh: In member function ‘Type dynamicgraph::sot::ParameterServer::getParameter(const string&) [with Type = int]’: sot-core/include/sot/core/parameter-server.hh:123:14: warning: ‘ParameterValue’ may be used uninitialized in this function [-Wmaybe-uninitialized] return ParameterValue; ^~~~~~~~~~~~~~

nim65s commented 3 years ago

replaced by #192