X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=smalloc.c;h=0d7054a429480a51c60d774496191ba7de193850;hb=82a90566caf08964064e74241e5eb5e42c6fb189;hp=c97bcbaae5bb429cfa807f32edfc4fa9d216867b;hpb=554461db6d57df00766e2c4cc7d18f1561d2fa4b;p=fio.git diff --git a/smalloc.c b/smalloc.c index c97bcbaa..0d7054a4 100644 --- a/smalloc.c +++ b/smalloc.c @@ -347,6 +347,9 @@ static unsigned int firstfree(struct pool *pool) 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)