smalloc: fix compiler warning on Windows
[fio.git] / smalloc.c
index c97bcbaae5bb429cfa807f32edfc4fa9d216867b..0d7054a429480a51c60d774496191ba7de193850 100644 (file)
--- 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)