[vlc-commits] luarc: remove pointless extra variables
Pierre Ynard
git at videolan.org
Tue Mar 15 02:32:21 CET 2011
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Mar 15 02:31:36 2011 +0100| [999bdad540dbfc8685023eccf11d6deadc7590c0] | committer: Pierre Ynard
luarc: remove pointless extra variables
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=999bdad540dbfc8685023eccf11d6deadc7590c0
---
share/lua/intf/rc.lua | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/lua/intf/rc.lua b/share/lua/intf/rc.lua
index 6a34481..f660dd5 100644
--- a/share/lua/intf/rc.lua
+++ b/share/lua/intf/rc.lua
@@ -607,7 +607,7 @@ function call_command(cmd,client,arg)
end
function call_libvlc_command(cmd,client,arg)
- local ok, vlcerr, vlcmsg = pcall( vlc.var.libvlc_command, cmd, arg )
+ local ok, vlcerr = pcall( vlc.var.libvlc_command, cmd, arg )
if not ok then
local a = arg or ""
if a ~= "" then a = " " .. a end
@@ -621,7 +621,7 @@ function call_object_command(cmd,client,arg)
if arg ~= nil then
var, val = split_input(arg)
end
- local ok, vlcmsg, vlcerr, vlcerrmsg = pcall( vlc.var.command, cmd, var, val )
+ local ok, vlcmsg, vlcerr = pcall( vlc.var.command, cmd, var, val )
if not ok then
local v = var or ""
if v ~= "" then v = " " .. v end
More information about the vlc-commits
mailing list