mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Fix various compiler/linter warnings in script_opt/CPP code
This commit is contained in:
parent
e200016200
commit
3e85375010
15 changed files with 43 additions and 41 deletions
|
@ -322,7 +322,7 @@ ScriptFunc::ScriptFunc(std::string _name, FuncTypePtr ft,
|
|||
auto n = bs.size();
|
||||
ASSERT(n == priorities.size());
|
||||
|
||||
for ( auto i = 0; i < n; ++i )
|
||||
for ( auto i = 0u; i < n; ++i )
|
||||
{
|
||||
Body b;
|
||||
b.stmts = std::move(bs[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue