From: Cole Robinson Date: Wed, 18 Feb 2009 01:37:47 +0000 (+0000) Subject: Remove the _actually_ incorrect ATTRIBUTE_UNUSED (Patch by Maximilian Wilhelm) X-Git-Tag: LIBVIRT_0_6_1~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e8ad2036a2a7562a26434f692bf4ee0a2a14b10;p=thirdparty%2Flibvirt.git Remove the _actually_ incorrect ATTRIBUTE_UNUSED (Patch by Maximilian Wilhelm) --- diff --git a/ChangeLog b/ChangeLog index 704ce14b04..6db1f1c7f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 17 20:40:51 EST 2009 Cole Robinson + + * src/qemu_driver.c: Remove the _actually_ incorrect + ATTRIBUTE_UNUSED (Patch by Maximilian Wilhelm) + Tue Feb 17 15:44:38 +0100 2009 Jim Meyering fix build failure due to invalid generated Makefile diff --git a/src/qemu_driver.c b/src/qemu_driver.c index 8bb948a624..20d3c0caa5 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -1911,7 +1911,7 @@ static int qemudNumDomains(virConnectPtr conn) { } static virDomainPtr qemudDomainCreate(virConnectPtr conn, const char *xml, - unsigned int flags) { + unsigned int flags ATTRIBUTE_UNUSED) { struct qemud_driver *driver = conn->privateData; virDomainDefPtr def; virDomainObjPtr vm = NULL; @@ -2883,7 +2883,7 @@ cleanup: static char *qemudDomainDumpXML(virDomainPtr dom, - int flags ATTRIBUTE_UNUSED) { + int flags) { struct qemud_driver *driver = dom->conn->privateData; virDomainObjPtr vm; char *ret = NULL;