everything related to duct tape audio suite (dtas)
 help / color / Atom feed
* [PATCH] splitfx: remove redundant Hash#merge call
@ 2015-01-03  3:08 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-01-03  3:08 UTC (permalink / raw)
  To: dtas-all

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-03  3:08 [PATCH] splitfx: remove redundant Hash#merge call Eric Wong

everything related to duct tape audio suite (dtas)

Archives are clonable:
	git clone --mirror https://80x24.org/dtas-all
	git clone --mirror http://ou63pmih66umazou.onion/dtas-all

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.dtas
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.dtas

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git