
15 Jul
2010
15 Jul
'10
6:08 p.m.
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@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/