Skip to content

Commit

Permalink
Fix linting "Using C-style cast" error
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurlovekin committed Jan 15, 2025
1 parent b677091 commit 6f3c7a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion diff_drive_controller/src/diff_drive_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,9 +703,10 @@ controller_interface::CallbackReturn DiffDriveController::configure_side(
return controller_interface::CallbackReturn::SUCCESS;
}

bool DiffDriveController::on_set_chained_mode(bool /*chained_mode*/)
bool DiffDriveController::on_set_chained_mode(bool chained_mode)
{
// Always accept switch to/from chained mode
(void)chained_mode;
return true;
}

Expand Down

0 comments on commit 6f3c7a5

Please sign in to comment.