[libvirt] [PATCH 6/7] Disable of unused sysinfotest functions

Eric Blake eblake at redhat.com
Fri Apr 5 20:56:29 UTC 2013


On 04/03/2013 09:06 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Certain functions in the sysinfotest.c are not used unless
> a whitelisted architecture is being built. Disable those
> functions unless required to avoid warnings about unused
> functions.
> 
> sysinfotest.c:93:1: warning: 'sysinfotest_run' defined but not used [-Wunused-function]
>  sysinfotest_run(const char *test,
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  tests/sysinfotest.c | 5 +++++
>  1 file changed, 5 insertions(+)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130405/16e5a890/attachment-0001.sig>


More information about the libvir-list mailing list