From b0c6086256522ad1a7403937968184cab7f89d0c Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 28 Feb 2014 23:20:23 +0200 Subject: Remove useless initialization --- Gemfile.lock | 2 +- lib/oxidized/nodes.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6d22af9..e40712b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - oxidized (0.0.29) + oxidized (0.0.30) grit haml net-ssh diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb index 4cdbfbb..9a3d3bd 100644 --- a/lib/oxidized/nodes.rb +++ b/lib/oxidized/nodes.rb @@ -11,7 +11,6 @@ module Oxidized @source = CFG.source[:default] Oxidized.mgr.source = @source Oxidized.mgr.source[@source].new.load.each do |node| - n = nil begin n = Node.new node rescue LoadError => err -- cgit v1.2.1