Skip to content

Commit 3f7a4a2

Browse files
author
blackhedd
committed
applied parentheses to quiet some -w warnings.
1 parent 64a8240 commit 3f7a4a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/net/ldap/filter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@ def execute &block
319319
when :le
320320
yield :lessOrEqual, @left, @right
321321
when :or, :and
322-
yield @op, (@left.execute &block), (@right.execute &block)
322+
yield @op, (@left.execute(&block)), (@right.execute(&block))
323323
when :not
324-
yield @op, (@left.execute &block)
324+
yield @op, (@left.execute(&block))
325325
end || []
326326
end
327327

0 commit comments

Comments
 (0)