projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smalloc: fix compiler warning on Windows
[fio.git]
/
smalloc.c
diff --git
a/smalloc.c
b/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);
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)
}
static void *__smalloc_pool(struct pool *pool, size_t size)