[libvirt] [PATCH 17/17] avoid compiler warning when all storage backends are disabled

Daniel P. Berrange berrange at redhat.com
Tue Oct 28 11:41:28 UTC 2008


On Tue, Oct 28, 2008 at 12:21:34PM +0100, Jim Meyering wrote:
> From: Jim Meyering <meyering at redhat.com>
> 
> * src/storage_backend.c (backends): Add a NULL terminator.
> (virStorageBackendForType): Use NULL terminator rather than
> warning-provoking (possibly 0) array size.

ACK

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list