mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
use container empty() rather than size() where appropriate
This commit is contained in:
parent
9b2eb2c373
commit
ffd1905f90
13 changed files with 37 additions and 37 deletions
|
@ -959,7 +959,7 @@ const ZAMStmt ZAMCompiler::CompileReturn(const ReturnStmt* r)
|
|||
{
|
||||
auto e = r->StmtExpr();
|
||||
|
||||
if ( retvars.size() == 0 )
|
||||
if ( retvars.empty() )
|
||||
{ // a "true" return
|
||||
if ( e )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue