On Fri, Nov 02, 2012 at 04:14:20PM +0100, Paolo Bonzini wrote: > clang now warns about an unused function: > CC block/raw-posix.o > block/raw-posix.c:707:26: warning: unused function paio_ioctl > [-Wunused-function] > static BlockDriverAIOCB *paio_ioctl(BlockDriverState *bs, int fd, > ^ > 1 warning generated. > > because the only use of paio_ioctl() is inside a #if defined(__linux__) > guard and it is static now. > > Reported-by: Peter Maydell <peter.mayd...@linaro.org> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > block/raw-posix.c | 27 ++++++++++----------------- > 1 file modificato, 10 inserzioni(+), 17 rimozioni(-)
Thanks, applied to my block-next tree: https://github.com/stefanha/qemu/commits/block-next Stefan