Skip to content

Commit

Permalink
No need to block_drop_unreferenced after builtins
Browse files Browse the repository at this point in the history
(The correctness of this change is more obvious after the rename.)
  • Loading branch information
muhmuhten authored and nicowilliams committed Feb 26, 2019
1 parent 260879a commit 36c250a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1794,6 +1794,5 @@ int builtins_bind(jq_state *jq, block* bb) {
builtins = gen_builtin_list(builtins);

*bb = block_bind_referenced(builtins, *bb, OP_IS_CALL_PSEUDO);
*bb = block_drop_unreferenced(*bb);
return nerrors;
}

0 comments on commit 36c250a

Please sign in to comment.