mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
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.
This commit is contained in:
parent
d6affda0a7
commit
4d12dfb75a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user