Remove unnecessary for

parent e192b45b
......@@ -140,11 +140,12 @@ func (h *querySet) next() (query.Result, bool) {
head := h.heads[0]
next := head.next
for head.advance() {
if head.advance() {
heap.Fix(h, 0)
return next, true
}
} else {
heap.Remove(h, 0)
}
return next, true
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment