bsd-user/elfload.c: Fix set-but-not-used warnings
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 18 Jul 2017 16:26:32 +0000 (17:26 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Jul 2017 09:34:40 +0000 (10:34 +0100)
commit710259565bd4bd2beba6731d430ab3b701c0f96a
tree8e62d40dc9ae01d94e7548e9666fcb330231fe47
parent06943a626964c3dabb3931cacc7180cd22fa7fda
bsd-user/elfload.c: Fix set-but-not-used warnings

Fix various warnings about set-but-not-used variables on OpenBSD:

bsd-user/elfload.c:1158:15: warning: variable 'mapped_addr' set but not used [-Wunused-but-set-variable]
bsd-user/elfload.c:1165:9: warning: variable 'status' set but not used [-Wunused-but-set-variable]
bsd-user/elfload.c:1168:15: warning: variable 'elf_stack' set but not used [-Wunused-but-set-variable]

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1500395194-21455-3-git-send-email-peter.maydell@linaro.org
bsd-user/elfload.c