]> git.proxmox.com Git - qemu.git/commit
tcg/ppc/tcg-target.c: Avoid 'set but not used' gcc warnings
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 1 Sep 2011 15:45:01 +0000 (16:45 +0100)
committermalc <av1474@comtv.ru>
Thu, 1 Sep 2011 17:20:50 +0000 (21:20 +0400)
commit70d705fd46ccd7afe1d0ad07a6f1ee2101a979db
tree54cb29f589755fba11ad621381c919c326b1301c
parentbdc76462aca464f11286ddcf6d5b748b4547267e
tcg/ppc/tcg-target.c: Avoid 'set but not used' gcc warnings

Move the declaration and initialisation of some variables in
tcg_out_qemu_ld and tcg_out_qemu_st inside CONFIG_SOFTMMU, to
avoid the "variable set but not used" warning of gcc 4.6.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: malc <av1474@comtv.ru>
tcg/ppc/tcg-target.c