diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-03-20 17:39:17 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-03-20 17:39:17 +0000 |
commit | 06f7d23b78350e34c95f97b7cf386152ee370b31 (patch) | |
tree | 10a551bb8850eac2fb8a632ece02af44caa749c1 /qemu-options.hx | |
parent | 55104bfb884ebf3c350833837b4523ed21a5e129 (diff) |
block/file-posix.c: Fix unused variable warning on OpenBSDbsd-fixes
On OpenBSD none of the ioctls probe_logical_blocksize() tries
exist, so the variable sector_size is unused. Refactor the
code to avoid this.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-options.hx')
0 files changed, 0 insertions, 0 deletions