[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/4] player/client_handler: remove unused variables
From: |
Eric Wong |
Subject: |
[PATCH 3/4] player/client_handler: remove unused variables |
Date: |
Mon, 30 Sep 2013 09:18:07 +0000 |
Oops.
---
lib/dtas/player/client_handler.rb | 3 +--
1 file changed, 1 insertion(+), 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)
--
1.8.4