From e121a6fc194eca3bb747d55de4e725f0eea7985a Mon Sep 17 00:00:00 2001 From: Otavio Pontes Date: Tue, 13 Nov 2018 20:43:39 +0000 Subject: [PATCH] archive: Ignore return code of function Ignore function return code as we don't need to check if operation is fatal or not at this point. --- src/archives.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archives.c b/src/archives.c index b4ec0889..e3916613 100644 --- a/src/archives.c +++ b/src/archives.c @@ -185,7 +185,7 @@ int extract_to(const char *tarfile, const char *outputdir) * returncode to the result of archive_write_close in case it fails */ r = archive_write_close(ext); /* call _archive_check_err() for correct error message */ - _archive_check_err(ext, r); + (void)_archive_check_err(ext, r); out: /* archive_write_free calls archive_write_close but does not report the * error. If 'goto out' is called, we already have an error we are handling