From 60a0e78a4aa2f37373442fbe849f3d5634fd106c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 13 Jul 2018 19:09:18 +0200 Subject: [PATCH] gluon-core: gluon.util: remove unused function readline() --- package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua index 1becb9c1..1bb2fa1c 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua @@ -77,12 +77,6 @@ function replace_prefix(file, prefix, add) os.rename(tmp, file) end -function readline(fd) - local line = fd:read('*l') - fd:close() - return line -end - function exec(command) local pp = io.popen(command) local data = pp:read("*a")