dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] splitfx: remove redundant Hash#merge call


From: Eric Wong
Subject: [PATCH] splitfx: remove redundant Hash#merge call
Date: Sat, 3 Jan 2015 03:08:54 +0000

This was unnecessary since we already iterate through the overrides
hash and merge "manually" based on command-line arguments
(which allows us to represent nested hashes).
---
 lib/dtas/splitfx.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb
index dac2a97..8aa37e7 100644
--- a/lib/dtas/splitfx.rb
+++ b/lib/dtas/splitfx.rb
@@ -101,7 +101,6 @@ class DTAS::SplitFX # :nodoc:
       end
     end
 
-    hash = hash.merge(overrides)
     case v = hash["track_zpad"]
     when Integer then @track_zpad = val
     else
-- 
EW




reply via email to

[Prev in Thread] Current Thread [Next in Thread]