mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Use properly-sized loop variables or convert to ranged-for (bugprone-too-small-loop-variable)
This commit is contained in:
parent
94c4c85e82
commit
1248411a2f
22 changed files with 89 additions and 95 deletions
|
@ -146,8 +146,8 @@ ipaddr32_t AnonymizeIPAddr_PrefixMD5::anonymize(ipaddr32_t input)
|
|||
|
||||
AnonymizeIPAddr_A50::~AnonymizeIPAddr_A50()
|
||||
{
|
||||
for ( unsigned int i = 0; i < blocks.size(); ++i )
|
||||
delete [] blocks[i];
|
||||
for ( auto& b : blocks )
|
||||
delete [] b;
|
||||
}
|
||||
|
||||
void AnonymizeIPAddr_A50::init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue