[PATCH] elfcompress: Replace cleanup() with label

Mark Wielaard mark@klomp.org
Tue Mar 2 09:39:35 GMT 2021


Hi Timm,

On Tue, 2021-03-02 at 09:05 +0100, Timm Bäder via Elfutils-devel wrote:
> This unifies the error handling with the rest of the code base and
> gets rid of a nested function.
> 
> +2021-03-02  Timm Bäder  <tbaeder@redhat.com>
> +
> +	* elfcompress.c (process_file): Remove cleanup() function and
> +	replace it with a cleanup label at the end of the function.
> +	Initialize res to -1.

Thanks, pushed.

Mark



More information about the Elfutils-devel mailing list