mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-08 04:41:31 +00:00
xdgmime: Fix unused variable compiler warning
This commit is contained in:
parent
8c4584aa56
commit
e571138ef6
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue