]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Added default case with error for object event dispatching
authorCédric Bosdonnat <cbosdonnat@suse.com>
Wed, 11 Dec 2013 10:38:04 +0000 (11:38 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 11 Dec 2013 13:35:08 +0000 (13:35 +0000)
commita5a484ddfcf5a8c24bc875ce6e5ba577679a11a9
tree45fc3bd7cb49b9bec7da4efb810ebddbe3d24ef9
parent1b07406e9ee7344c6505806fa6d93be8db969d22
Added default case with error for object event dispatching

Hitting this should be pretty rare, but at least developers will know
that they are providing a weird event ID. Otherwise for namespace that
are added in the normal way, gcc will raise a warning about unhandled
case in the switch.
src/conf/object_event.c