aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2013-12-12 15:42:31 -0600
committerJack Nagel2013-12-12 15:42:35 -0600
commit6c04ccfb3bf9d71b700ab44b32a508766b8cdcf9 (patch)
tree9b0f684412bbaee57df6b91cb6b1871a9c830208 /Library/Homebrew/cmd
parent55db2f7e114befc57f783d4858c72fc11a91382b (diff)
downloadbrew-6c04ccfb3bf9d71b700ab44b32a508766b8cdcf9.tar.bz2
Remove unused variables
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/install.rb2
-rw-r--r--Library/Homebrew/cmd/update.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index c1d5f4739..ccdc48b63 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -33,7 +33,7 @@ module Homebrew extend self
require 'cmd/tap'
begin
install_tap $1, $2
- rescue AlreadyTappedError => e
+ rescue AlreadyTappedError
end
end
end unless ARGV.force?
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index f6e90f6c9..9f681d1a4 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -63,7 +63,7 @@ module Homebrew extend self
tap_user, tap_repo = migration.split '/'
begin
install_tap tap_user, tap_repo
- rescue AlreadyTappedError => e
+ rescue AlreadyTappedError
end
end if load_tap_migrations