From 4d12dfb75a0c3e6df54f625c361a0796a3a9ad97 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Fri, 8 Apr 2022 17:37:23 +0200 Subject: [PATCH] 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. --- player/lua/options.lua | 7 ------- 1 file changed, 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