AP_Param: Remove meaningless semicolons

This commit is contained in:
murata 2022-02-05 21:19:10 +09:00 committed by Randy Mackay
parent 127f356c86
commit 1e46fe3cf3
1 changed files with 2 additions and 2 deletions

View File

@ -2110,7 +2110,7 @@ bool AP_Param::parse_param_line(char *line, char **vname, float &value, bool &re
// increments num_defaults for each default found in filename
bool AP_Param::count_defaults_in_file(const char *filename, uint16_t &num_defaults)
{
int f = AP::FS().open(filename, O_RDONLY);;
int f = AP::FS().open(filename, O_RDONLY);
if (f == -1) {
return false;
}
@ -2140,7 +2140,7 @@ bool AP_Param::count_defaults_in_file(const char *filename, uint16_t &num_defaul
bool AP_Param::read_param_defaults_file(const char *filename, bool last_pass)
{
int f = AP::FS().open(filename, O_RDONLY);;
int f = AP::FS().open(filename, O_RDONLY);
if (f == -1) {
AP_HAL::panic("AP_Param: Failed to re-open defaults file");
return false;