Skip to content

Commit 6f3c7a5

Browse files
committed
Fix linting "Using C-style cast" error
1 parent b677091 commit 6f3c7a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

diff_drive_controller/src/diff_drive_controller.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,9 +703,10 @@ controller_interface::CallbackReturn DiffDriveController::configure_side(
703703
return controller_interface::CallbackReturn::SUCCESS;
704704
}
705705

706-
bool DiffDriveController::on_set_chained_mode(bool /*chained_mode*/)
706+
bool DiffDriveController::on_set_chained_mode(bool chained_mode)
707707
{
708708
// Always accept switch to/from chained mode
709+
(void)chained_mode;
709710
return true;
710711
}
711712

0 commit comments

Comments
 (0)