ehlo,
attached is a patch for TEVENT_REQ_RETURN_ON_ERROR which was discussed in dp_provider related thread.
It "fixes" 6 clang warnings and 150 UNINIT from coverity (visible only in --agresive mode)
BTW feel fre to prose different error code for result of down casting == 0. It should not happen but one never knows.
LS