Skip to content

Commit

Permalink
fix cppcoreguidelines-init-variables
Browse files Browse the repository at this point in the history
Signed-off-by: ISP akm <[email protected]>
  • Loading branch information
xygyo77 committed Jun 14, 2024
1 parent 7c5afd7 commit 7e0ae45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CARET_trace/src/ros_trace_points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ static bool is_python3_command()
}
ifs.close();

vector<string> cmd_line;
vector<string> cmd_line = {};
auto itr_begin = input_data.begin();
auto itr_find = input_data.begin();
for (;;) {
Expand Down
2 changes: 1 addition & 1 deletion CARET_trace/src/tracing_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ std::unordered_set<std::string> split(std::string str, char del)
{
std::unordered_set<std::string> result;
std::string::size_type first = 0;
std::string::size_type last;
std::string::size_type last = 0;

while (first < str.size()) {
last = str.find_first_of(del, first);
Expand Down

0 comments on commit 7e0ae45

Please sign in to comment.