On 02/21/2013 07:47 AM, Peter Krempa wrote: > This patch adds a fake switch statement to force the compiler to warn > after a new device type was added. This should remind the contributor to > add the new device also to this iterator function. > --- > > Notes: > Version 2: > - NEW in series, kind of RFC > > src/conf/domain_conf.c | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) Interesting idea - but any time we can make the compiler help us be better maintainers, I'm in favor of it. ACK. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list