mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
addressed performance and correctness issues flagged by Coverity
This commit is contained in:
parent
9357a5879b
commit
3925ff4592
9 changed files with 32 additions and 29 deletions
|
@ -1012,7 +1012,7 @@ StmtPtr WhenStmt::DoReduce(Reducer* c)
|
|||
if ( red_e_stmt )
|
||||
{
|
||||
auto s = make_intrusive<StmtList>(red_e_stmt, ThisPtr());
|
||||
return TransformMe(s, c);
|
||||
return TransformMe(std::move(s), c);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue