Commit c20ad298 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

->idx is unsigned, so cannot be < 0 (and GCC sux).

parent b90b60d0
......@@ -129,7 +129,6 @@ shard_next(struct shard_state *state, VCL_INT skip, VCL_BOOL healthy)
struct shard_be_info *sbe;
AN(state);
assert(state->idx >= 0);
CHECK_OBJ_NOTNULL(state->shardd, SHARDDIR_MAGIC);
if (state->pickcount >= state->shardd->n_backend)
......
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