style fix, no code changes
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Sun, 9 Sep 2007 14:11:11 +0000 (14:11 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Sun, 9 Sep 2007 14:11:11 +0000 (14:11 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@19807 69ca8d6d-28ef-0310-b511-8ec308f3f277

archival/libunarchive/get_header_tar_bz2.c
archival/libunarchive/get_header_tar_gz.c
archival/libunarchive/get_header_tar_lzma.c
archival/tar.c

index 8f7f83f..6d4f585 100644 (file)
@@ -13,7 +13,8 @@ char get_header_tar_bz2(archive_handle_t *archive_handle)
 
        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;
index a990614..4b9e793 100644 (file)
@@ -29,7 +29,8 @@ char get_header_tar_gz(archive_handle_t *archive_handle)
 
        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;
index f0e45f2..cf73824 100644 (file)
@@ -16,7 +16,8 @@ char get_header_tar_lzma(archive_handle_t * archive_handle)
 
        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;
index e0d4daf..45fa4bd 100644 (file)
@@ -663,7 +663,7 @@ static char get_header_tar_Z(archive_handle_t *archive_handle)
        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;