On Thu, 2018-12-06 at 13:09 +-0200, Yuval Shaia wrote: +AD4 Since callers never validates return value let's make sure objects are +AD4 valid here and do not return NULL. This is not sufficient as motivation to make this change. A better motivation would e.g. be that you have audited all callers and verified that none of the callers passes a NULL pointer. Another possible motivation could be that you have tested these code paths extensively and that none of the removed warning statements has been triggered. Bart.