mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
remove unused local function
This commit is contained in:
@@ -26,14 +26,6 @@ end
|
|||||||
|
|
||||||
local traceback = debug.traceback
|
local traceback = debug.traceback
|
||||||
|
|
||||||
local function do_func(f, msg)
|
|
||||||
return xpcall(f, traceback, table.unpack(msg))
|
|
||||||
end
|
|
||||||
|
|
||||||
local function dispatch(f, ...)
|
|
||||||
return skynet.pack(f(...))
|
|
||||||
end
|
|
||||||
|
|
||||||
local function return_f(f, ...)
|
local function return_f(f, ...)
|
||||||
return skynet.ret(skynet.pack(f(...)))
|
return skynet.ret(skynet.pack(f(...)))
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user