about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/dtas/player/client_handler.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/dtas/player/client_handler.rb b/lib/dtas/player/client_handler.rb
index de52307..5c6653c 100644
--- a/lib/dtas/player/client_handler.rb
+++ b/lib/dtas/player/client_handler.rb
@@ -654,9 +654,8 @@ module DTAS::Player::ClientHandler # :nodoc:
   def cue_handler(io, msg)
     cur = @current
     if cur.respond_to?(:cuebreakpoints)
-      offset = nil
       bp = cur.cuebreakpoints
-      case cmd = msg[0]
+      case msg[0]
       when nil
         tmp = { "infile" => cur.infile, "cue" => bp.map { |ci| ci.to_hash } }
         io.emit(tmp.to_yaml)