Skip to content

Commit

Permalink
fix clang-tidy-19 problem
Browse files Browse the repository at this point in the history
  • Loading branch information
huangminghuang authored and kris-jusiak committed Dec 18, 2024
1 parent aefa901 commit f83e15c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ readability-*,\
"
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
FormatStyle: file
User: clausklein
...
Expand Down
2 changes: 1 addition & 1 deletion include/boost/ut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ struct cfg {
}
query_pattern = "";
bool found_first_option = false;
for (auto i = 1U; i < n_args; i++) {
for (auto i = 1U; i < n_args && argv != nullptr; i++) {
std::string cmd(argv[i]);
auto cmd_option = find_arg(cmd);
if (!cmd_option.has_value()) {
Expand Down

0 comments on commit f83e15c

Please sign in to comment.