mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Fix clang-tidy bugprone-branch-clone warnings
This commit is contained in:
parent
92854e95d3
commit
dbecfb5a2a
32 changed files with 132 additions and 247 deletions
|
@ -12,9 +12,6 @@ FixedCatArg::FixedCatArg(TypePtr _t) : t(std::move(_t)) {
|
|||
case TYPE_BOOL: max_size = 1; break;
|
||||
|
||||
case TYPE_INT:
|
||||
max_size = 20; // sufficient for 64 bits
|
||||
break;
|
||||
|
||||
case TYPE_COUNT:
|
||||
max_size = 20; // sufficient for 64 bits
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue