mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08: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 )
|
if ( func_val && v )
|
||||||
{
|
{
|
||||||
const ::Func* func = func_val->AsFunc();
|
const ::Func* funcv = func_val->AsFunc();
|
||||||
const CallExpr* current_call = f ? f->GetCall() : 0;
|
const CallExpr* current_call = f ? f->GetCall() : 0;
|
||||||
|
|
||||||
if ( f )
|
if ( f )
|
||||||
f->SetCall(this);
|
f->SetCall(this);
|
||||||
|
|
||||||
ret = func->Call(v, f);
|
ret = funcv->Call(v, f);
|
||||||
|
|
||||||
if ( f )
|
if ( f )
|
||||||
f->SetCall(current_call);
|
f->SetCall(current_call);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue