Skip to content

Commit 26d5cb9

Browse files
byrootioquatix
authored andcommitted
Fix unused variable warning
``` lib/async/pool/controller.rb:332: warning: assigned but unused variable - error ```
1 parent 913e451 commit 26d5cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/async/pool/controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def available_resource
328328
end
329329

330330
return resource
331-
rescue Exception => error
331+
rescue Exception
332332
reuse(resource) if resource
333333
raise
334334
end

0 commit comments

Comments
 (0)