Skip to content

Commit 8c16c1f

Browse files
authored
Merge pull request #146 from JuliaSIMD/noreturn
Remove useless `return` statement
2 parents edb4972 + 5611b46 commit 8c16c1f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/batch.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,10 @@ end
219219
@nexprs $C j -> RVAR_j = reducops[j](RVAR_j, thread_results[j])
220220
end
221221
end
222-
ret_quote = Expr(:return)
223-
redtup = Expr(:tuple)
222+
ret_quote = Expr(:tuple)
224223
for j 1:C
225-
push!(redtup.args, Symbol("RVAR_", j))
224+
push!(ret_quote.args, Symbol("RVAR_", j))
226225
end
227-
push!(ret_quote.args, redtup)
228226

229227
block = quote
230228
start = zero(UInt)

0 commit comments

Comments
 (0)