[vlc-commits] lua/http: remove dead debug code in vlm.xml

Pierre Ynard git at videolan.org
Sat Aug 1 16:59:12 CEST 2020


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sat Aug  1 16:57:47 2020 +0200| [7c84fd3e6131acb78de31dd55eda11dafaa8488a] | committer: Pierre Ynard

lua/http: remove dead debug code in vlm.xml

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

 share/lua/http/requests/vlm.xml | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/share/lua/http/requests/vlm.xml b/share/lua/http/requests/vlm.xml
index b724a3ab9f..611c118f0b 100644
--- a/share/lua/http/requests/vlm.xml
+++ b/share/lua/http/requests/vlm.xml
@@ -130,21 +130,7 @@ local function print_xml(m)
   print "</vlm>"
 end
 
-local function print_msg(m)
-  if not m then return end
-  print("<"..m.name..">\n")
-  if m.children then
-    for _, child in ipairs(m.children) do
-      print_msg(child)
-    end
-  elseif m.value then
-    print(m.value)
-  end
-  print("</"..m.name..">\n")
-end
-
 local msg = vlm:execute_command("show")
 print_xml(msg)
---print_msg(msg)
 
 ?>



More information about the vlc-commits mailing list