[libvirt] [PATCH 1/5] util: storage: Convert disk locality check to switch statement
Daniel P. Berrange
berrange at redhat.com
Wed Sep 10 10:04:09 UTC 2014
On Tue, Sep 09, 2014 at 10:45:44AM +0200, Peter Krempa wrote:
> To allow the compiler to track future additions of disk types, convert
> the function to use a switch statement with the correct type.
> ---
> src/util/virstoragefile.c | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)
ACK
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list