diff options
| -rw-r--r-- | archival/libarchive/data_extract_all.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/archival/libarchive/data_extract_all.c b/archival/libarchive/data_extract_all.c index cf821c9de..bd034afdc 100644 --- a/archival/libarchive/data_extract_all.c +++ b/archival/libarchive/data_extract_all.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | 8 | ||
| 9 | void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) | 9 | void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) |
| 10 | { | 10 | { |
| 11 | |||
| 12 | file_header_t *file_header = archive_handle->file_header; | 11 | file_header_t *file_header = archive_handle->file_header; |
| 13 | int dst_fd; | 12 | int dst_fd; |
| 14 | int res; | 13 | int res; |
| @@ -44,7 +43,7 @@ void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) | |||
| 44 | dst_name = strchr(dst_name, '/'); | 43 | dst_name = strchr(dst_name, '/'); |
| 45 | if (!dst_name || dst_name[1] == '\0') { | 44 | if (!dst_name || dst_name[1] == '\0') { |
| 46 | data_skip(archive_handle); | 45 | data_skip(archive_handle); |
| 47 | return; | 46 | goto ret; |
| 48 | } | 47 | } |
| 49 | dst_name++; | 48 | dst_name++; |
| 50 | /* | 49 | /* |
| @@ -60,7 +59,7 @@ void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) | |||
| 60 | hard_link = strchr(hard_link, '/'); | 59 | hard_link = strchr(hard_link, '/'); |
| 61 | if (!hard_link || hard_link[1] == '\0') { | 60 | if (!hard_link || hard_link[1] == '\0') { |
| 62 | data_skip(archive_handle); | 61 | data_skip(archive_handle); |
| 63 | return; | 62 | goto ret; |
| 64 | } | 63 | } |
| 65 | hard_link++; | 64 | hard_link++; |
| 66 | } | 65 | } |
