Re: [Qemu-devel] [PATCH 1/1] block/raw-posix: fix compilation warning on OSX

2015-02-16 Thread Kevin Wolf
Am 12.02.2015 um 06:35 hat Denis V. Lunev geschrieben: block/raw-posix.c:947:19: warning: unused variable 's' [-Wunused-variable] BDRVRawState *s = aiocb-bs-opaque; This variable is used only when on of the following macros are defined CONFIG_XFS, CONFIG_FALLOCATE,

Re: [Qemu-devel] [PATCH 1/1] block/raw-posix: fix compilation warning on OSX

2015-02-12 Thread Kevin Wolf
Am 12.02.2015 um 06:35 hat Denis V. Lunev geschrieben: block/raw-posix.c:947:19: warning: unused variable 's' [-Wunused-variable] BDRVRawState *s = aiocb-bs-opaque; This variable is used only when on of the following macros are defined CONFIG_XFS, CONFIG_FALLOCATE,

[Qemu-devel] [PATCH 1/1] block/raw-posix: fix compilation warning on OSX

2015-02-11 Thread Denis V. Lunev
block/raw-posix.c:947:19: warning: unused variable 's' [-Wunused-variable] BDRVRawState *s = aiocb-bs-opaque; This variable is used only when on of the following macros are defined CONFIG_XFS, CONFIG_FALLOCATE, CONFIG_FALLOCATE_PUNCH_HOLE or CONFIG_FALLOCATE_ZERO_RANGE. Fortunately,