[vlc-commits] vlm: Error loading /requests/vlm.xml

Joe Taber git at videolan.org
Sun May 27 08:45:34 CEST 2012


vlc | branch: master | Joe Taber <infogulch at gmail.com> | Sat May 26 16:53:33 2012 -0500| [a75ff33f2b426ffe02994b65a84cf70f178b1aee] | committer: Jean-Baptiste Kempf

vlm: Error loading /requests/vlm.xml

Variable `loop` was uninitialized and resulted in an error when being
concatenated. Initialize the variable to blank: `local loop = ""`.

Close #6882

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a75ff33f2b426ffe02994b65a84cf70f178b1aee
---

 share/lua/http/requests/vlm.xml |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/share/lua/http/requests/vlm.xml b/share/lua/http/requests/vlm.xml
index 19d3fb4..ddb9f2b 100644
--- a/share/lua/http/requests/vlm.xml
+++ b/share/lua/http/requests/vlm.xml
@@ -52,7 +52,8 @@ local function print_table(name,t)
 end
 local function print_media(m)
   local name = m.name
-  local type_, enabled, loop, output
+  local type_, enabled, output
+  local loop = ""
   local inputs = {}
   local options = {}
   local instances = {}



More information about the vlc-commits mailing list