Re: [Qemu-devel] [PATCH] Fix a compilation error in xen-mapcache.c

2011-07-29 Thread Anthony Liguori
On 07/26/2011 09:33 AM, Stefan Berger wrote: This patch fixes a compilation error in xen-mapcache.c . /home/stefanb/qemu/qemu-git/xen-mapcache.c: In function ‘xen_ram_addr_from_mapcache’: /home/stefanb/qemu/qemu-git/xen-mapcache.c:240:42: error: variable ‘pentry’ set but not used [-Werror=unus

Re: [Qemu-devel] [PATCH] Fix a compilation error in xen-mapcache.c

2011-07-26 Thread Stefan Berger
On 07/26/2011 10:38 AM, Peter Maydell wrote: On 26 July 2011 15:33, Stefan Berger wrote: This patch fixes a compilation error in xen-mapcache.c . /home/stefanb/qemu/qemu-git/xen-mapcache.c: In function ‘xen_ram_addr_from_mapcache’: /home/stefanb/qemu/qemu-git/xen-mapcache.c:240:42: error: var

Re: [Qemu-devel] [PATCH] Fix a compilation error in xen-mapcache.c

2011-07-26 Thread Peter Maydell
On 26 July 2011 15:33, Stefan Berger wrote: > This patch fixes a compilation error in xen-mapcache.c . > > /home/stefanb/qemu/qemu-git/xen-mapcache.c: In function > ‘xen_ram_addr_from_mapcache’: > /home/stefanb/qemu/qemu-git/xen-mapcache.c:240:42: error: variable ‘pentry’ > set but not used [-We

[Qemu-devel] [PATCH] Fix a compilation error in xen-mapcache.c

2011-07-26 Thread Stefan Berger
This patch fixes a compilation error in xen-mapcache.c . /home/stefanb/qemu/qemu-git/xen-mapcache.c: In function ‘xen_ram_addr_from_mapcache’: /home/stefanb/qemu/qemu-git/xen-mapcache.c:240:42: error: variable ‘pentry’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being tr