xdgmime: Fix unused variable compiler warning

This commit is contained in:
LRN 2009-03-01 20:13:31 +01:00 committed by Sebastian Dröge
parent 8c4584aa56
commit e571138ef6

View file

@ -443,7 +443,9 @@ _xdg_mime_magic_parse_magic_line (FILE * magic_file, XdgMimeMagicMatch * match)
if (c == '\n') {
/* We clean up the matchlet, byte swapping if needed */
if (matchlet->word_size > 1) {
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
int i;
#endif
if (matchlet->value_length % matchlet->word_size != 0) {
_xdg_mime_magic_matchlet_free (matchlet);
return XDG_MIME_MAGIC_ERROR;