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)
commitecf169b7fa920b87e380981c5206148d057d85fb
treebcd843a842459f0c252098a2023695950ca3d38e
parent6b8273a1b97876950d91c228a420a851e10e12bb
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