diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-03-16 13:10:36 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-03-16 13:10:36 -0700 |
commit | 0fb43d695ff3fcb32b82e4bace0f04b7cfada500 (patch) | |
tree | 051bfe09827c2cac47f8cc053b1fa40160e5b6ab | |
parent | 6f39c9f0d165791e333550061805531b81a19597 (diff) | |
download | syslinux-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>
-rw-r--r-- | libinstaller/fat.c | 3 |
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(§buf->bsMedia) != 0xF0 && get_8(§buf->bsMedia) < 0xF8) return "invalid media signature (not a FAT filesystem?)"; |