mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy modernize-use-default-member-init warnings in headers
This commit is contained in:
parent
a05b4abdf7
commit
fb55c8856e
49 changed files with 134 additions and 185 deletions
|
@ -642,7 +642,7 @@ void SwitchStmt::Init() {
|
|||
}
|
||||
|
||||
SwitchStmt::SwitchStmt(ExprPtr index, case_list* arg_cases)
|
||||
: ExprStmt(STMT_SWITCH, std::move(index)), cases(arg_cases), default_case_idx(-1) {
|
||||
: ExprStmt(STMT_SWITCH, std::move(index)), cases(arg_cases) {
|
||||
Init();
|
||||
|
||||
bool have_exprs = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue