Skip to content

Commit

Permalink
pp_tie should use HvEITER_get() instead of HvEITER().
Browse files Browse the repository at this point in the history
The former doesn't make a function call.
  • Loading branch information
nwc10 committed Aug 24, 2021
1 parent 6bee331 commit fa9c4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pp_sys.c
Expand Up @@ -876,7 +876,7 @@ PP(pp_tie)
{
HE *entry;
methname = "TIEHASH";
if (HvLAZYDEL(varsv) && (entry = HvEITER((HV *)varsv))) {
if (HvLAZYDEL(varsv) && (entry = HvEITER_get((HV *)varsv))) {
HvLAZYDEL_off(varsv);
hv_free_ent((HV *)varsv, entry);
}
Expand Down

0 comments on commit fa9c4f8

Please sign in to comment.