Skip to content

Commit

Permalink
delete unused local variable in @generated (#51778)
Browse files Browse the repository at this point in the history
Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
  • Loading branch information
matthias314 and aviatesk authored Oct 24, 2023
1 parent 17a36ee commit d38348b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion base/expr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,6 @@ macro generated(f)
if isa(f, Expr) && (f.head === :function || is_short_function_def(f))
body = f.args[2]
lno = body.args[1]
tmp = gensym("tmp")
return Expr(:escape,
Expr(f.head, f.args[1],
Expr(:block,
Expand Down

0 comments on commit d38348b

Please sign in to comment.