Skip to content

Commit

Permalink
fix warning about unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Oct 12, 2023
1 parent b391117 commit 45ad516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/docbookrx/docbook_visitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1560,15 +1560,15 @@ def visit_funcsynopsis node

# FIXME blank lines showing up between adjacent index terms
def visit_indexterm node
previous_skipped = false
#previous_skipped = false
if @skip.has_key? :indexterm
skip_count = @skip[:indexterm]
if skip_count > 0
@skip[:indexterm] -= 1
return false
else
@skip.delete :indexterm
previous_skipped = true
#previous_skipped = true
end
end

Expand Down

0 comments on commit 45ad516

Please sign in to comment.