From e571138ef60bbe7a983e1d0a2cf86dabcf8c2e08 Mon Sep 17 00:00:00 2001 From: LRN Date: Sun, 1 Mar 2009 20:13:31 +0100 Subject: xdgmime: Fix unused variable compiler warning --- gst/xdgmime/xdgmime/xdgmimemagic.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/xdgmime') diff --git a/gst/xdgmime/xdgmime/xdgmimemagic.c b/gst/xdgmime/xdgmime/xdgmimemagic.c index 4c2c0bba..6aaa8638 100644 --- a/gst/xdgmime/xdgmime/xdgmimemagic.c +++ b/gst/xdgmime/xdgmime/xdgmimemagic.c @@ -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; -- cgit v1.2.1