Skip to content

Commit

Permalink
Merge pull request #146 from JuliaSIMD/noreturn
Browse files Browse the repository at this point in the history
Remove useless `return` statement
  • Loading branch information
chriselrod authored May 14, 2024
2 parents edb4972 + 5611b46 commit 8c16c1f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/batch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,10 @@ end
@nexprs $C j -> RVAR_j = reducops[j](RVAR_j, thread_results[j])
end
end
ret_quote = Expr(:return)
redtup = Expr(:tuple)
ret_quote = Expr(:tuple)
for j 1:C
push!(redtup.args, Symbol("RVAR_", j))
push!(ret_quote.args, Symbol("RVAR_", j))
end
push!(ret_quote.args, redtup)

block = quote
start = zero(UInt)
Expand Down

0 comments on commit 8c16c1f

Please sign in to comment.