Re: [libvirt] one more warning

2008-11-04 Thread Daniel Veillard
On Mon, Oct 27, 2008 at 07:49:17PM +0100, Jim Meyering wrote: > One more warning question: > Compiling with all storage backends disabled, I get this: > > storage_backend.c:91: warning: comparison of unsigned expression < 0 is > always false > [...] > The above loses because ARRAY_CARDINALITY(ba

[libvirt] one more warning

2008-10-27 Thread Jim Meyering
One more warning question: Compiling with all storage backends disabled, I get this: storage_backend.c:91: warning: comparison of unsigned expression < 0 is always false That's because of this code: static virStorageBackendPtr backends[] = { #if WITH_STORAGE_DIR &virStorageBackendDirectory,