remove dead code
authorIan Kelling <ian@iankelling.org>
Sat, 1 Mar 2025 23:20:21 +0000 (18:20 -0500)
committerIan Kelling <ian@iankelling.org>
Sat, 1 Mar 2025 23:20:21 +0000 (18:20 -0500)
beetag

diff --git a/beetag b/beetag
index 56ad3b4ec61d724a9a84d4866bf3011f2d3da6ba..846fff4ea53e15a207ed47f2572e9d4567ae5879 100755 (executable)
--- a/beetag
+++ b/beetag
@@ -393,7 +393,7 @@ beetag()  {
   local -a tags
 
   # boolean state vars
-  local expected_input remove got_track first_play=true erasable_line=false
+  local remove got_track first_play=true erasable_line=false
 
   # iterator vars
   local ls_line tag
@@ -637,7 +637,6 @@ beetag()  {
           continue
           ;;
         "$escape_char")
-          expected_input=true
           read -rsn2 escaped_input
           case $escaped_input in
             # it was buggy to differentiate between up and down, '[A' and '[B'
@@ -656,9 +655,6 @@ beetag()  {
               mpvrpc '{ "command": ["seek", "'$seek_sec'"] }'
               continue
               ;;
-            *)
-              expected_input=false
-              ;;
           esac
           ;;
       esac