> > I guess we should just return NULL in all other cases here. But please > > enumerate the cases explicitly so that people who add new interface > > types get warnings, i.e. don't use a default: statement in a switch > > (interface type) > > you sure you want these ugly warnings? I do prefer to put default here. No, I want to put all currently possible values there instead of the default so that when the mesh folks add their type they get the warning there. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part