aboutsummaryrefslogtreecommitdiffstats
path: root/libinstaller
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-03-16 13:10:36 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-03-16 13:10:36 -0700
commit0fb43d695ff3fcb32b82e4bace0f04b7cfada500 (patch)
tree051bfe09827c2cac47f8cc053b1fa40160e5b6ab /libinstaller
parent6f39c9f0d165791e333550061805531b81a19597 (diff)
downloadsyslinux-0fb43d695ff3fcb32b82e4bace0f04b7cfada500.tar.gz
syslinux-0fb43d695ff3fcb32b82e4bace0f04b7cfada500.tar.xz
syslinux-0fb43d695ff3fcb32b82e4bace0f04b7cfada500.zip
libinstaller/fat.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'libinstaller')
-rw-r--r--libinstaller/fat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libinstaller/fat.c b/libinstaller/fat.c
index e2101353..9cde00c2 100644
--- a/libinstaller/fat.c
+++ b/libinstaller/fat.c
@@ -42,15 +42,12 @@ void syslinux_make_bootsect(void *bs)
*/
const char *syslinux_check_bootsect(const void *bs)
{
- int veryold;
int sectorsize;
long long sectors, fatsectors, dsectors;
long long clusters;
int rootdirents, clustersize;
const struct boot_sector *sectbuf = bs;
- veryold = 0;
-
/* Must be 0xF0 or 0xF8..0xFF */
if (get_8(&sectbuf->bsMedia) != 0xF0 && get_8(&sectbuf->bsMedia) < 0xF8)
return "invalid media signature (not a FAT filesystem?)";