]> git.ipfire.org Git - thirdparty/libvirt.git/commit
avoid compiler warning when all storage backends are disabled
authorJim Meyering <meyering@redhat.com>
Tue, 28 Oct 2008 17:48:06 +0000 (17:48 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 28 Oct 2008 17:48:06 +0000 (17:48 +0000)
commit487d57b341bcbe0ec97e574c085858dab9c48fa3
treef36502a366cb51be461642ce2322c064da9a819c
parenta6c7f474ebcbacf05a49e9a480cf504572cc96f5
avoid compiler warning when all storage backends are disabled

* src/storage_backend.c (backends): Add a NULL terminator.
(virStorageBackendForType): Use NULL terminator rather than
warning-provoking (possibly 0) array size.
ChangeLog
src/storage_backend.c