]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/bsdload.c
bsd-user/bsdload.c: Remove write-only id_change variable
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 18 Jul 2017 16:26:33 +0000 (17:26 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Jul 2017 14:00:43 +0000 (15:00 +0100)
commit4a65a86af64cc3247f1def97692c9b78b7cfc401
treec433a0e113880f28a8628277fb50ff258658bf07
parentc8115f8eb8b6c4742e5e0c0c644904cd81ed65fa
bsd-user/bsdload.c: Remove write-only id_change variable

On OpenBSD the compiler complains:
bsd-user/bsdload.c:54:17: warning: variable 'id_change' set but not used [-Wunused-but-set-variable]

This is dead code that was originally copied from linux-user.
We fixed this in linux-user in commit 331c23b5ca44293d1 in 2011;
delete the useless code from bsd-user too.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1500395194-21455-4-git-send-email-peter.maydell@linaro.org
bsd-user/bsdload.c