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

Pierre Ynard git at videolan.org
Sat Mar 24 23:36:04 CET 2012


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sat Mar 24 23:35:30 2012 +0100| [f77f269b7e0cf50d8ed3b6f5833ed52a3cef7a9d] | committer: Pierre Ynard

httprequests.lua: remove duplicate helper function

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

 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 1e66796..c8ceb7c 100644
--- a/share/lua/intf/modules/httprequests.lua
+++ b/share/lua/intf/modules/httprequests.lua
@@ -58,10 +58,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