mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
simplified some vestigial complexity I noticed when flipping through diffs
This commit is contained in:
parent
dc38880cee
commit
03085d45e5
1 changed files with 1 additions and 5 deletions
|
@ -113,11 +113,7 @@ NameExprPtr Reducer::PushInlineBlock(TypePtr type)
|
||||||
if ( ! type || type->Tag() == TYPE_VOID )
|
if ( ! type || type->Tag() == TYPE_VOID )
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
char buf[8192];
|
IDPtr ret_id = install_ID("@retvar", "<internal>", false, false);
|
||||||
int n = new_locals.size();
|
|
||||||
snprintf(buf, sizeof buf, "@retvar");
|
|
||||||
|
|
||||||
IDPtr ret_id = install_ID(buf, "<internal>", false, false);
|
|
||||||
ret_id->SetType(type);
|
ret_id->SetType(type);
|
||||||
|
|
||||||
// Track this as a new local *if* we're in the outermost inlining
|
// Track this as a new local *if* we're in the outermost inlining
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue