[syslinux:master] core/fs/iso9660/iso9660.c: remove variables set but not used
syslinux-bot for H. Peter Anvin
hpa at zytor.com
Wed Mar 16 13:19:02 PDT 2011
Commit-ID: 05ae4dd744b743ea7178c3627ccf017854129ae2
Gitweb: http://syslinux.zytor.com/commit/05ae4dd744b743ea7178c3627ccf017854129ae2
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Wed, 16 Mar 2011 13:10:36 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Wed, 16 Mar 2011 13:10:36 -0700
core/fs/iso9660/iso9660.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 at zytor.com>
---
core/fs/iso9660/iso9660.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/core/fs/iso9660/iso9660.c b/core/fs/iso9660/iso9660.c
index 46f5f17..5c04528 100644
--- a/core/fs/iso9660/iso9660.c
+++ b/core/fs/iso9660/iso9660.c
@@ -118,9 +118,10 @@ static bool iso_compare_name(const char *de_name, size_t len,
char iso_file_name[256];
char *p = iso_file_name;
char c1, c2;
- size_t i;
+ int i;
i = iso_convert_name(iso_file_name, de_name, len);
+ (void)i;
dprintf("Compare: \"%s\" to \"%s\" (len %zu)\n",
file_name, iso_file_name, i);
More information about the Syslinux-commits
mailing list