From d4ded6372476ae9acd8ac5bdda9f1ad52ef5d1a0 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 1 Aug 2021 12:31:32 +0300 Subject: [PATCH] (tar_read_header): rename variable. Signed-off-by: Andrew Borodin --- src/vfs/tar/tar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vfs/tar/tar.c b/src/vfs/tar/tar.c index 47a0db651..4e444cbe1 100644 --- a/src/vfs/tar/tar.c +++ b/src/vfs/tar/tar.c @@ -807,10 +807,10 @@ static read_header tar_read_header (struct vfs_class *me, struct vfs_s_super *archive, size_t * h_size) { tar_super_t *arch = TAR_SUPER (archive); - read_header checksum_status; union block *header; struct stat st; static char *next_long_name = NULL, *next_long_link = NULL; + read_header status; while (TRUE) { @@ -818,9 +818,9 @@ tar_read_header (struct vfs_class *me, struct vfs_s_super *archive, size_t * h_s if (header == NULL) return HEADER_END_OF_FILE; - checksum_status = tar_checksum (header); - if (checksum_status != HEADER_SUCCESS) - return checksum_status; + status = tar_checksum (header); + if (status != HEADER_SUCCESS) + return status; if (header->header.typeflag == LNKTYPE || header->header.typeflag == DIRTYPE) *h_size = 0; /* Links 0 size on tape */