Re: [PATCH] elfcompress: Replace cleanup() with label

2021-03-02 Thread Mark Wielaard
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 > + > + * elfcompress.c (process_file): Remove cleanup() function and > + re

[PATCH] elfcompress: Replace cleanup() with label

2021-03-02 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder This unifies the error handling with the rest of the code base and gets rid of a nested function. Signed-off-by: Timm Bäder --- src/ChangeLog | 6 ++ src/elfcompress.c | 215 +++--- 2 files changed, 112 insertions(+), 109 deletions