]> Git Repo - qemu.git/commit
bsd-user/elfload.c: Fix set-but-not-used warnings
authorPeter Maydell <[email protected]>
Tue, 18 Jul 2017 16:26:32 +0000 (17:26 +0100)
committerPeter Maydell <[email protected]>
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 <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 1500395194[email protected]
bsd-user/elfload.c
This page took 0.024643 seconds and 4 git commands to generate.