firstfree() triggers a warning from the Windows compiler used by
AppVeyor because it doesn't return a value if the for loop iterates to
completion. This patch resolves the compiler warning.
AppVeyor Windows build log: https://ci.appveyor.com/project/axboe/fio/builds/
26381726
Signed-off-by: Jens Axboe <axboe@kernel.dk>
return i;
assert(0);
+
+ /* we will never get here but this fixes a compiler warning */
+ return -1U;
}
static void *__smalloc_pool(struct pool *pool, size_t size)