mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix a bunch of variable shadowing issues from LGTM
This commit is contained in:
parent
f8eb2d9241
commit
e8dbfc1cb0
10 changed files with 28 additions and 27 deletions
|
@ -1005,8 +1005,8 @@ StmtPtr CatchReturnStmt::DoReduce(Reducer* c)
|
|||
|
||||
if ( ret_e_dup->Tag() == EXPR_CONST )
|
||||
{
|
||||
auto c = ret_e_dup->AsConstExpr();
|
||||
rv_dup->AsNameExpr()->Id()->GetOptInfo()->SetConst(c);
|
||||
auto ce = ret_e_dup->AsConstExpr();
|
||||
rv_dup->AsNameExpr()->Id()->GetOptInfo()->SetConst(ce);
|
||||
}
|
||||
|
||||
return assign_stmt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue