summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-06 22:55:33 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-06 22:55:33 (GMT)
commitae2be2044d39abebfa7b8d5ce64571e72f7ff6fd (patch)
tree71b2a2bc85ec23100c9d584bcd7409080418af53 /src/common
parentb070fb755b9e32bfa80e8854606f431d285ca23e (diff)
Removed some compilation warnings.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compression.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/compression.c b/src/common/compression.c
index d443924..982ac6a 100644
--- a/src/common/compression.c
+++ b/src/common/compression.c
@@ -68,7 +68,7 @@ CPError add_file_into_archive(struct archive *output, const char *filename, cons
{
perror("stat");
result = CPE_SYSTEM_ERROR;
- goto afia_exit;
+ goto afia_quick_exit;
}
entry = archive_entry_new();
@@ -105,6 +105,8 @@ CPError add_file_into_archive(struct archive *output, const char *filename, cons
archive_entry_free(entry);
+ afia_quick_exit:
+
return result;
}