1. remove unused code; 2. weird indents fixed.

This commit is contained in:
Hanlei Qin
2018-09-19 20:25:47 +08:00
committed by 云风
parent f217a56f6e
commit d23e6f8d8e
2 changed files with 6 additions and 7 deletions

View File

@@ -372,7 +372,6 @@ local function suspend(tid, name, qtype)
end end
end) end)
skynet.wait(req.co) skynet.wait(req.co)
local answers = req.answers
request_pool[tid] = nil request_pool[tid] = nil
if not req.answers then if not req.answers then
local answers = lookup_cache(name, qtype, true) local answers = lookup_cache(name, qtype, true)