fix a few warnings on non-Linux

mostly #ifdeffing functions that are only called by #ifdeffed code
This commit is contained in:
Dan Winship
2011-09-04 17:17:11 -04:00
parent afa82ae805
commit 749fa587bc
4 changed files with 8 additions and 0 deletions

View File

@@ -479,7 +479,9 @@ _xdg_mime_magic_parse_magic_line (FILE *magic_file,
/* We clean up the matchlet, byte swapping if needed */
if (matchlet->word_size > 1)
{
#if LITTLE_ENDIAN
int i;
#endif
if (matchlet->value_length % matchlet->word_size != 0)
{
_xdg_mime_magic_matchlet_free (matchlet);