[libvirt] [PATCH] nwfilter_conf.c: don't test an uninitialized local variable
Eric Blake
eblake at redhat.com
Mon Mar 29 15:43:46 UTC 2010
On 03/29/2010 09:35 AM, Jim Meyering wrote:
> I've just run the code through clang, and it spotted a few new problems.
> Here's one:
> } else {
> - int i;
> + unsigned int i = 0;
> int dcshown = 0, in_dc = 0;
> unsigned short n;
> while (i < 8) {
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100329/af942f01/attachment-0001.sig>
More information about the libvir-list
mailing list