diff options
author | 2017-07-18 17:26:34 +0100 | |
---|---|---|
committer | 2017-07-21 15:01:09 +0100 | |
commit | e4335180d2b40de8a5027030edbcd89aa6557bbc (patch) | |
tree | fb0b66b16bb4f3be00928fd2394db2e720246ff6 /util/bufferiszero.c | |
parent | bsd-user/bsdload.c: Remove write-only id_change variable (diff) | |
download | qemu-e4335180d2b40de8a5027030edbcd89aa6557bbc.tar.xz qemu-e4335180d2b40de8a5027030edbcd89aa6557bbc.zip |
bsd-user/main.c: Fix unused variable warning
On OpenBSD the compiler warns:
bsd-user/main.c:622:21: warning: variable 'sig' set but not used [-Wunused-but-set-variable]
This is because a lot of the signal delivery code is #if-0'd
out as unused. Reshuffle #ifdefs a bit to silence the warning.
(We make the minimum change here rather than removing all the
bsd-user patchset which should make this all work correctly and
there's no point giving them an awkward rebase task.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1500395194-21455-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'util/bufferiszero.c')
0 files changed, 0 insertions, 0 deletions