diff options
author | Guido Cella <guido@guidocella.xyz> | 2022-04-08 17:37:23 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2022-04-08 19:20:49 +0300 |
commit | 4d12dfb75a0c3e6df54f625c361a0796a3a9ad97 (patch) | |
tree | e0e3e521aa4b1008b618202eba1522f8a9a7f4ab /player | |
parent | d6affda0a7b4b6b4b35a833820e7e98fd88b6c52 (diff) | |
download | mpv-4d12dfb75a0c3e6df54f625c361a0796a3a9ad97.tar.bz2 mpv-4d12dfb75a0c3e6df54f625c361a0796a3a9ad97.tar.xz |
options.lua: remove unused function
val2str isn't used anywhere. Its only use was removed in dd3e52fe68,
when it was still part of osc.lua.
Diffstat (limited to 'player')
-rw-r--r-- | player/lua/options.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/player/lua/options.lua b/player/lua/options.lua index 4517df2da4..a391844933 100644 --- a/player/lua/options.lua +++ b/player/lua/options.lua @@ -1,12 +1,5 @@ local msg = require 'mp.msg' -local function val2str(val) - if type(val) == "boolean" then - if val then val = "yes" else val = "no" end - end - return val -end - -- converts val to type of desttypeval local function typeconv(desttypeval, val) if type(desttypeval) == "boolean" then |