[vlc-commits] httprequests.lua: remove duplicate helper function

Pierre Ynard git at videolan.org
Mon Mar 26 18:44:53 CEST 2012


vlc/vlc-2.0 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sat Mar 24 23:35:30 2012 +0100| [f1f59b923f4ded6894739f303b30c8a7739b6f3c] | committer: Jean-Baptiste Kempf

httprequests.lua: remove duplicate helper function
(cherry picked from commit f77f269b7e0cf50d8ed3b6f5833ed52a3cef7a9d)

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

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

 share/lua/intf/modules/httprequests.lua |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/share/lua/intf/modules/httprequests.lua b/share/lua/intf/modules/httprequests.lua
index c060796..611be44 100644
--- a/share/lua/intf/modules/httprequests.lua
+++ b/share/lua/intf/modules/httprequests.lua
@@ -59,10 +59,6 @@ function strsplit(text, delimiter)
     return list
 end
 
-function round(what, precision)
-if what then return math.floor(what*math.pow(10,precision)+0.5) / math.pow(10,precision) else return "" end
-end
-
 --main function to process commands sent with the request
 
 processcommands = function ()



More information about the vlc-commits mailing list