]> git.sesse.net Git - vlc/commitdiff
httprequests.lua: remove duplicate helper function
authorPierre Ynard <linkfanel@yahoo.fr>
Sat, 24 Mar 2012 22:35:30 +0000 (23:35 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Sat, 24 Mar 2012 22:35:30 +0000 (23:35 +0100)
share/lua/intf/modules/httprequests.lua

index 1e66796ccde6cf39005112f41629e795277d8bb8..c8ceb7c9c31d910fd00e3edc0fc6ebebc4841045 100644 (file)
@@ -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 ()