summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-07 14:53:16 +0000
committermidipix <writeonce@midipix.org>2024-02-07 14:53:16 +0000
commit9a8e5aa6b3bf366bc95a0cccdc92605de1bc34f7 (patch)
tree47634fd0c436edb5f08dfddc09af31734b70c82b
parentdb49afe552e44f767938d14d04e99e9e2f5d16c3 (diff)
downloadslibtool-9a8e5aa6b3bf366bc95a0cccdc92605de1bc34f7.tar.bz2
slibtool-9a8e5aa6b3bf366bc95a0cccdc92605de1bc34f7.tar.xz
slbt_merge_archives(): do not special-case signature-only archives.
-rw-r--r--src/arbits/slbt_archive_merge.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/arbits/slbt_archive_merge.c b/src/arbits/slbt_archive_merge.c
index acbb318..e63c640 100644
--- a/src/arbits/slbt_archive_merge.c
+++ b/src/arbits/slbt_archive_merge.c
@@ -343,14 +343,6 @@ int slbt_merge_archives(
ch += sizeof(struct ar_raw_signature);
- /* signature only? */
- if (!armap && !arnames && !nmembers) {
- slbt_free_archive_ctx(arctx);
- *arctxm = 0;
- return 0;
- }
-
-
/* armap header */
if (armap) {
arhdr = (struct ar_raw_file_header *)ch;