diff options
-rw-r--r-- | src/ChangeLog | 3 | ||||
-rw-r--r-- | src/elfcompress.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 47c7eb79..de130f79 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2021-05-12 Dmitry V. Levin <ldv@altlinux.org> + * elfcompress.c (process_file): Remove redundant assignment in case of + "Nothing to do". + * elfcompress.c (process_file): Set res to 0 in case of "Nothing to do". 2021-04-19 Martin Liska <mliska@suse.cz> diff --git a/src/elfcompress.c b/src/elfcompress.c index 7340e878..05f3bc2c 100644 --- a/src/elfcompress.c +++ b/src/elfcompress.c @@ -521,7 +521,6 @@ process_file (const char *fname) { if (verbose > 0) printf ("Nothing to do.\n"); - fnew = NULL; res = 0; goto cleanup; } |