Skip to content

Commit dd75c6c

Browse files
committed
Remove unnecessary variable
1 parent 0960259 commit dd75c6c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/rdoc/markup/to_html_crossref.rb

-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ def gen_url url, text
126126
# Creates an HTML link to +name+ with the given +text+.
127127

128128
def link name, text
129-
original_name = name
130-
131129
if name =~ /(.*[^#:])@/ then
132130
name = $1
133131
label = $'

0 commit comments

Comments
 (0)