makefs: remove unused variable

Reported by:	Clang
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2023-04-17 08:12:27 -04:00
parent 10854bf517
commit 79ead08497

View File

@ -429,7 +429,6 @@ cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector,
{
FILE *rf;
int bytes_read;
off_t sector = start_sector;
int buf_size = diskStructure->sectorSize;
char *buf;
@ -462,7 +461,6 @@ cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector,
(void)fclose(rf);
return 0;
}
sector++;
}
fclose(rf);