summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2014-09-02 10:28:04 +0900
committerAkira Matsuda <ronnie@dio.jp>2014-09-02 10:28:04 +0900
commit28718ca2874a8e08a126700eb7030ac92b090486 (patch)
treeeac0774b5ffed9084c8f7894dba09930dc7780cb
parent043bbca9b65cb7f8d862371f66cd4e163287291b (diff)
downloadnet-ssh-28718ca2874a8e08a126700eb7030ac92b090486.tar.gz
warning: assigned but unused variable - hash
-rw-r--r--lib/net/ssh/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/config.rb b/lib/net/ssh/config.rb
index 137b8e3..bfce04e 100644
--- a/lib/net/ssh/config.rb
+++ b/lib/net/ssh/config.rb
@@ -59,7 +59,7 @@ module Net; module SSH
# #default_files), translates the resulting hash into the options
# recognized by Net::SSH, and returns them.
def for(host, files=default_files)
- hash = translate(files.inject({}) { |settings, file|
+ translate(files.inject({}) { |settings, file|
load(file, host, settings)
})
end