Re: [PATCH 02/11] Remove 'type' field from FileTypeInfo struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]