Fix a compilation error in xen-mapcache.c
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 26 Jul 2011 14:33:11 +0000 (10:33 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 29 Jul 2011 14:33:56 +0000 (09:33 -0500)
commited7229913c64617906acd6cfd192553c2c06394b
treebcd843a842459f0c252098a2023695950ca3d38e
parent08ef4837d026df663f932d0fa3228dc1b3e6f57b
Fix a compilation error in xen-mapcache.c

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 treated as errors

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
xen-mapcache.c