archive_handle->src_fd = open_transformer(archive_handle->src_fd, unpack_bz2_stream, "bunzip2", "bunzip2", "-cf", "-", NULL);
archive_handle->offset = 0;
- while (get_header_tar(archive_handle) == EXIT_SUCCESS) /**/;
+ while (get_header_tar(archive_handle) == EXIT_SUCCESS)
+ continue;
/* Can only do one file at a time */
return EXIT_FAILURE;
archive_handle->src_fd = open_transformer(archive_handle->src_fd, unpack_gz_stream, "gunzip", "gunzip", "-cf", "-", NULL);
archive_handle->offset = 0;
- while (get_header_tar(archive_handle) == EXIT_SUCCESS) /**/;
+ while (get_header_tar(archive_handle) == EXIT_SUCCESS)
+ continue;
/* Can only do one file at a time */
return EXIT_FAILURE;
archive_handle->src_fd = open_transformer(archive_handle->src_fd, unpack_lzma_stream, "unlzma", "unlzma", "-cf", "-", NULL);
archive_handle->offset = 0;
- while (get_header_tar(archive_handle) == EXIT_SUCCESS) /**/;
+ while (get_header_tar(archive_handle) == EXIT_SUCCESS)
+ continue;
/* Can only do one file at a time */
return EXIT_FAILURE;
archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompress, "uncompress", "uncompress", "-cf", "-", NULL);
archive_handle->offset = 0;
while (get_header_tar(archive_handle) == EXIT_SUCCESS)
- /* nothing */;
+ continue;
/* Can only do one file at a time */
return EXIT_FAILURE;