Skip to content

Commit

Permalink
applied parentheses to quiet some -w warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackhedd committed May 18, 2007
1 parent 64a8240 commit 3f7a4a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/net/ldap/filter.rb
Expand Up @@ -319,9 +319,9 @@ def execute &block
when :le
yield :lessOrEqual, @left, @right
when :or, :and
yield @op, (@left.execute &block), (@right.execute &block)
yield @op, (@left.execute(&block)), (@right.execute(&block))
when :not
yield @op, (@left.execute &block)
yield @op, (@left.execute(&block))
end || []
end

Expand Down

0 comments on commit 3f7a4a2

Please sign in to comment.