On Thu 08 Jun 2017 03:39:03 PM CEST, Eduardo Habkost wrote: > Assigning directly to *errp is not valid, as errp may be NULL, > &error_fatal, or &error_abort. Use error_propagate() instead.
Well, the NULL case was already handled by the code, but &error_fatal and &error_abort certainly not. > With this, there's no need to check if errp is NULL anymore, as > error_propagate() and error_prepend() are able to handle that. > > Cc: Kevin Wolf <[email protected]> > Cc: Max Reitz <[email protected]> > Cc: [email protected] > Signed-off-by: Eduardo Habkost <[email protected]> Reviewed-by: Alberto Garcia <[email protected]> Berto
