diff options
Diffstat (limited to 'gst/xdgmime')
-rw-r--r-- | gst/xdgmime/xdgmime/xdgmimemagic.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |