From 163c1c52d072f081f80c75ed9876e0587d0af8dd Mon Sep 17 00:00:00 2001 From: Jonas Pfenniger Date: Sat, 1 Jan 2011 00:47:02 +0000 Subject: [PATCH] utils.rb: removed unused cols argument cols is calculated in the function body Signed-off-by: Adam Vandenberg --- Library/Homebrew/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index c5d9168d91..8a297f0530 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -97,7 +97,7 @@ def curl *args safe_system '/usr/bin/curl', '-f#LA', HOMEBREW_USER_AGENT, *args unless args.empty? end -def puts_columns items, cols = 4 +def puts_columns items return if items.empty? if $stdout.tty?