On Mon, Jul 12, 2010 at 02:30:39PM +0100, Daniel P. Berrange wrote: > Instead of including a field in FileTypeInfo struct for the > disk format, rely on the array index matching the format. > Use verify() to assert the correct number of elements in the > array. > > * src/util/storage_file.c: remove type field from FileTypeInfo ACK, small simplification and more comoile time checking. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list