Skip to content

Commit 06269df

Browse files
committed
(wire_core) fix unused-parameter
1 parent eff7989 commit 06269df

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

wire_core/src/WorldModelROS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ void WorldModelROS::processEvidence(const wire_msgs::WorldEvidence& world_eviden
301301
}
302302
}
303303

304-
bool WorldModelROS::resetWorldModel(std_srvs::Empty::Request& req, std_srvs::Empty::Response& res) {
304+
bool WorldModelROS::resetWorldModel(std_srvs::Empty::Request& /*req*/, std_srvs::Empty::Response& /*res*/) {
305305
delete world_model_;
306306
world_model_ = new HypothesisTree(max_num_hyps_, min_prob_ratio_);
307307
return true;

wire_core/src/core/PropertySet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void PropertySet::propagate(const Time& time) {
103103
timestamp_ = time;
104104
}
105105

106-
void PropertySet::update(const pbl::PDF& z, const Time& time) {
106+
void PropertySet::update(const pbl::PDF& /*z*/, const Time& /*time*/) {
107107
assert(false);
108108
}
109109

wire_core/src/models/FixedState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ FixedState* FixedState::clone() const {
2727
return new FixedState(*this);
2828
}
2929

30-
void FixedState::update(const pbl::PDF& z, const mhf::Time& /*time*/) {
30+
void FixedState::update(const pbl::PDF& /*z*/, const mhf::Time& /*time*/) {
3131
}
3232

3333
void FixedState::propagate(const mhf::Time& /*time*/) {

0 commit comments

Comments
 (0)