diff --git a/main/astobj2.c b/main/astobj2.c index d6dc8b2d33..378a8311ed 100644 --- a/main/astobj2.c +++ b/main/astobj2.c @@ -614,7 +614,7 @@ static void *__ao2_callback(struct ao2_container *c, if ((flags & OBJ_POINTER)) /* we know hash can handle this case */ start = i = c->hash_fn(arg, flags & OBJ_POINTER) % c->n_buckets; else /* don't know, let's scan all buckets */ - i = -1; /* XXX this must be fixed later. */ + start = i = -1; /* XXX this must be fixed later. */ /* determine the search boundaries: i..last-1 */ if (i < 0) {