Skip to content

Commit 895f2c2

Browse files
okuramasafumimatzbot
authored andcommitted
[ruby/rdoc] lint: Remove unreachable code
(ruby/rdoc#1137) This is an attempt to utilize RuboCop further. RuboCop was added in ruby/rdoc@9262fdd43a3a but only a few rules have been enabled. I believe we can utilize RuboCop more for better code quality, especially with Lint cops. This is the first step to enable other Lint cops. This commit also exclude some auto generated files. ruby/rdoc@a53287fce0
1 parent dd43af3 commit 895f2c2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/rdoc/rdoc.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ def parse_file filename
395395
$stderr.puts e.backtrace.join("\n\t") if $DEBUG_RDOC
396396

397397
raise e
398-
nil
399398
end
400399

401400
##

0 commit comments

Comments
 (0)