remove some dead code

We have an early exit for 'error' mode in this function.
This commit is contained in:
Kartik K. Agaram 2023-11-12 17:14:37 -08:00
parent 7057ac74ec
commit 5cce511550
1 changed files with 0 additions and 1 deletions

View File

@ -232,7 +232,6 @@ function App.keychord_press(chord, key)
if run.keychord_press then run.keychord_press(chord, key) end
elseif Current_app == 'source' then
if source.keychord_press then source.keychord_press(chord, key) end
elseif Current_app == 'error' then
else
assert(false, 'unknown app "'..Current_app..'"')
end