Remove unused variable

This commit is contained in:
Jack Nagel 2013-10-08 23:55:02 -05:00
parent 051061827c
commit 9bd507b7be

View File

@ -419,14 +419,12 @@ end
def check_user_path_1 def check_user_path_1
$seen_prefix_bin = false $seen_prefix_bin = false
$seen_prefix_sbin = false $seen_prefix_sbin = false
seen_usr_bin = false
out = nil out = nil
paths.each do |p| paths.each do |p|
case p case p
when '/usr/bin' when '/usr/bin'
seen_usr_bin = true
unless $seen_prefix_bin unless $seen_prefix_bin
# only show the doctor message if there are any conflicts # only show the doctor message if there are any conflicts
# rationale: a default install should not trigger any brew doctor messages # rationale: a default install should not trigger any brew doctor messages