Removed left-over assignment

This commit is contained in:
Yorick Peterse 2015-08-18 17:59:07 +02:00
parent f41f6ff0c8
commit d72f5eb07f
1 changed files with 1 additions and 2 deletions

View File

@ -736,8 +736,7 @@ module Oga
# @param [AST::Node] arg # @param [AST::Node] arg
# @return [Oga::Ruby::Node] # @return [Oga::Ruby::Node]
def on_call_count(input, arg) def on_call_count(input, arg)
count = unique_literal(:count) count = unique_literal(:count)
assign =
unless return_nodeset?(arg) unless return_nodeset?(arg)
raise TypeError, 'count() can only operate on NodeSet instances' raise TypeError, 'count() can only operate on NodeSet instances'