ptypedescr is unconditionally dereferenced further down  so this code apparently requires ptypedescr to be non null as a postcondition of the typelib danger get call  so this should be an assert rather than a sal warn if