From 018aeb05ab74629f761741e51436a358db6feb9d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 2 Aug 2014 19:43:13 -0500 Subject: [PATCH] Drop unnecessary parens --- Library/Homebrew/cxxstdlib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cxxstdlib.rb b/Library/Homebrew/cxxstdlib.rb index 4fcb4bf753..06599e7dbc 100644 --- a/Library/Homebrew/cxxstdlib.rb +++ b/Library/Homebrew/cxxstdlib.rb @@ -23,7 +23,7 @@ class CxxStdlib # libstdc++ is compatible across Apple compilers, but # not between Apple and GNU compilers, or between GNU compiler versions def compatible_with?(other) - (type.nil? || other.type.nil?) || type == other.type + type.nil? || other.type.nil? || type == other.type end def check_dependencies(formula, deps)