summaryrefslogtreecommitdiff
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2021-03-02 09:05:33 +0100
committerMark Wielaard <mark@klomp.org>2021-03-02 10:37:32 +0100
commitc497478390de6a40a74f9ef567b05e39403c6314 (patch)
tree27d2bf144f5ce3ed2972002a29bdb95bec29dfff /src/ChangeLog
parentd6c85cff9df027ea3972f021d674f96b9bd9d9db (diff)
downloadelfutils-c497478390de6a40a74f9ef567b05e39403c6314.tar.gz
elfcompress: Replace cleanup() with label
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 <tbaeder@redhat.com>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 29f04e71..791015bb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2021-02-17 Timm Bäder <tbaeder@redhat.com>
* elfcompress.c (process_file): Move get_sections function...