about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-01-04 11:36:42 +0000
committerEric Wong <e@80x24.org>2015-01-19 09:56:52 +0000
commit657f2f9cf7785124bf18246ba326869e6acfb660 (patch)
tree1a87e4829c1cb680f43f59544c561b4a148b4447 /lib
parent5de3064be43ad6f54df33bcb781b064d83bdd8c8 (diff)
downloaddtas-657f2f9cf7785124bf18246ba326869e6acfb660.tar.gz
We already assigned fmt before entering the case statement,
so make the case statement smaller.
Diffstat (limited to 'lib')
-rw-r--r--lib/dtas/splitfx.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb
index 8aa37e7..2335636 100644
--- a/lib/dtas/splitfx.rb
+++ b/lib/dtas/splitfx.rb
@@ -232,8 +232,6 @@ class DTAS::SplitFX # :nodoc:
       fmt = "%0#{max.to_s.size}d"
     when Integer
       fmt = "%0#{@track_zpad}d"
-    else
-      fmt = "%d"
     end
     nr = @track_start
     @tracks.delete_if do |t|