[Libvir] 7/8 Remove unnecessary "#include <assert.h>"s
Richard W.M. Jones
rjones at redhat.com
Tue Jan 29 15:10:50 UTC 2008
Jim Meyering wrote:
> Enable the <assert.h>-checking test; fix violations.
>
> * Makefile.cfg (local-checks-to-skip)
> [sc_prohibit_assert_without_use]: Enable.
> * qemud/mdns.c: Don't include <assert.h>; no uses of assert here.
> * qemud/qemud.c: Likewise.
> * qemud/remote.c: Likewise.
ACK - nice one.
I'd be wary of other "minimal include" tests however since sometimes the
includes are really needed on some obscure architecture ... eg. Windows :-)
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/20080129/bfacdc9a/attachment-0001.bin>
More information about the libvir-list
mailing list