clang-tidy remove redundant

This commit is contained in:
Daniel Agar
2017-02-01 22:15:50 -05:00
parent 6631e72d6f
commit 96e51f7c59
13 changed files with 322 additions and 23 deletions
@@ -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
+4 -4
View File
@@ -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;