mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +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 )
|
||||
return nullptr;
|
||||
|
||||
char buf[8192];
|
||||
int n = new_locals.size();
|
||||
snprintf(buf, sizeof buf, "@retvar");
|
||||
|
||||
IDPtr ret_id = install_ID(buf, "<internal>", false, false);
|
||||
IDPtr ret_id = install_ID("@retvar", "<internal>", false, false);
|
||||
ret_id->SetType(type);
|
||||
|
||||
// Track this as a new local *if* we're in the outermost inlining
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue