Skip to content

Commit

Permalink
suppress a warning:
Browse files Browse the repository at this point in the history
lib/xpath/html.rb:91: warning: assigned but unused variable - xpath
  • Loading branch information
kou committed Jan 9, 2012
1 parent 1691851 commit c9a3b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xpath/html.rb
Expand Up @@ -88,7 +88,7 @@ def select(locator)
# Label, id, or name of the checkbox to match
#
def checkbox(locator)
xpath = locate_field(descendant(:input)[attr(:type).equals('checkbox')], locator)
locate_field(descendant(:input)[attr(:type).equals('checkbox')], locator)
end


Expand Down

0 comments on commit c9a3b3b

Please sign in to comment.