[Libvir] PATCH: 10/10: fix Xen driver warnings
Richard W.M. Jones
rjones at redhat.com
Thu Nov 29 17:24:03 UTC 2007
Daniel P. Berrange wrote:
> If building using --without-xen to disable the Xen driver there
> are a whole bunch of methods in the src/xml.c file which are not
> used. There are littered with #if WITH_XEN to disable small parts
> of the API, but not the whole APIs. This is pointless and results
> in many compile time warnings about unused variables. This patch
> just disables all the Xen specific APIs in xml.c entirely.
>
> src/xml.c | 19 +++++--------------
> src/xml.h | 2 ++
> tests/xml2sexprtest.c | 10 ++++++++++
> 3 files changed, 17 insertions(+), 14 deletions(-)
+1.
I was getting these warnings as well, and ignoring them ...
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071129/a8b9fd1b/attachment-0001.bin>
More information about the libvir-list
mailing list