Skip to content

Commit

Permalink
core/fs/iso9660/iso9660.c: remove variables set but not used
Browse files Browse the repository at this point in the history
gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
H. Peter Anvin committed Mar 16, 2011
1 parent e9296c0 commit 05ae4dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/fs/iso9660/iso9660.c
Expand Up @@ -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);

Expand Down

0 comments on commit 05ae4dd

Please sign in to comment.