style fix, no code changes
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 9 Sep 2007 14:11:11 +0000 (14:11 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 9 Sep 2007 14:11:11 +0000 (14:11 -0000)
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 8f7f83fc2de65d9744202c2c7655d5c4c3bb1753..6d4f5851ed6e0899f64f5fac5a7e120805c798f9 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 a99061411fbeb6a5b37915937df0150dcf933bf0..4b9e793bb95096004340d898b75d63010ebdf369 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 f0e45f2c5d874d44546f89f5b1a65bb3c75c6673..cf73824e36c7a7d557ddd708054a845b021cff64 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 e0d4daff7d93324729317c4373a43c00ab10c13a..45fa4bd7992120d67a1461f581214a1c142ce769 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;