]> xenbits.xensource.com Git - libvirt.git/commit
conf: Add fake switch statement to warn for new device types
authorPeter Krempa <pkrempa@redhat.com>
Thu, 21 Feb 2013 11:37:59 +0000 (12:37 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Feb 2013 08:36:24 +0000 (09:36 +0100)
commit5e3c3447857faeada02702d5b186a6c805858a74
treea55c4f41c7316b87308901fea0642f2e14e73ea1
parent0b73a763f3c53595f53d94c61d8b2b66595a14e8
conf: Add fake switch statement to warn for new device types

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.
src/conf/domain_conf.c