Skip to content

Commit

Permalink
Rover: make check_var_info void
Browse files Browse the repository at this point in the history
Given all the callers die anyway, make it void
  • Loading branch information
peterbarker authored and tridge committed Jan 9, 2023
1 parent d3bbc94 commit 33599bd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Rover/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,11 +803,6 @@ const AP_Param::ConversionInfo conversion_table[] = {

void Rover::load_parameters(void)
{
if (!AP_Param::check_var_info()) {
hal.console->printf("Bad var table\n");
AP_HAL::panic("Bad var table");
}

if (!g.format_version.load() ||
g.format_version != Parameters::k_format_version) {
// erase all parameters
Expand Down

0 comments on commit 33599bd

Please sign in to comment.