mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Fix a variable-name-shadowing issue
This commit is contained in:
parent
91f05f19ef
commit
12f2153f67
1 changed files with 2 additions and 2 deletions
|
@ -4198,13 +4198,13 @@ IntrusivePtr<Val> CallExpr::Eval(Frame* f) const
|
|||
|
||||
if ( func_val && v )
|
||||
{
|
||||
const ::Func* func = func_val->AsFunc();
|
||||
const ::Func* funcv = func_val->AsFunc();
|
||||
const CallExpr* current_call = f ? f->GetCall() : 0;
|
||||
|
||||
if ( f )
|
||||
f->SetCall(this);
|
||||
|
||||
ret = func->Call(v, f);
|
||||
ret = funcv->Call(v, f);
|
||||
|
||||
if ( f )
|
||||
f->SetCall(current_call);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue