xdgmime: Fix unused variable compiler warning
This commit is contained in:
parent
8c4584aa56
commit
e571138ef6
@ -443,7 +443,9 @@ _xdg_mime_magic_parse_magic_line (FILE * magic_file, XdgMimeMagicMatch * match)
|
|||||||
if (c == '\n') {
|
if (c == '\n') {
|
||||||
/* We clean up the matchlet, byte swapping if needed */
|
/* We clean up the matchlet, byte swapping if needed */
|
||||||
if (matchlet->word_size > 1) {
|
if (matchlet->word_size > 1) {
|
||||||
|
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
||||||
int i;
|
int i;
|
||||||
|
#endif
|
||||||
if (matchlet->value_length % matchlet->word_size != 0) {
|
if (matchlet->value_length % matchlet->word_size != 0) {
|
||||||
_xdg_mime_magic_matchlet_free (matchlet);
|
_xdg_mime_magic_matchlet_free (matchlet);
|
||||||
return XDG_MIME_MAGIC_ERROR;
|
return XDG_MIME_MAGIC_ERROR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user