mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 11:33:34 +08:00
clang-tidy remove redundant
This commit is contained in:
@@ -375,7 +375,6 @@ GPSSIM::task_main()
|
||||
|
||||
/* tell the dtor that we are exiting */
|
||||
_task = -1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -594,7 +594,6 @@ tune_end:
|
||||
_default_tune_number = 0;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@@ -317,10 +317,10 @@ int main(int argc, char **argv)
|
||||
set_cpu_scaling();
|
||||
|
||||
int index = 1;
|
||||
string commands_file = "";
|
||||
string commands_file;
|
||||
int positional_arg_count = 0;
|
||||
string data_path = "";
|
||||
string node_name = "";
|
||||
string data_path;
|
||||
string node_name;
|
||||
|
||||
// parse arguments
|
||||
while (index < argc) {
|
||||
@@ -501,7 +501,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (!daemon_mode) {
|
||||
string mystr = "";
|
||||
string mystr;
|
||||
string string_buffer[CMD_BUFF_SIZE];
|
||||
int buf_ptr_write = 0;
|
||||
int buf_ptr_read = 0;
|
||||
|
||||
Reference in New Issue
Block a user