projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4584a
)
xdgmime: Fix unused variable compiler warning
author
LRN
<lrn1986@gmail.com>
Sun, 1 Mar 2009 19:13:31 +0000
(20:13 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Sun, 1 Mar 2009 19:13:31 +0000
(20:13 +0100)
gst/xdgmime/xdgmime/xdgmimemagic.c
patch
|
blob
|
history
diff --git
a/gst/xdgmime/xdgmime/xdgmimemagic.c
b/gst/xdgmime/xdgmime/xdgmimemagic.c
index 4c2c0bba8a46a9445468c1cbbef3fc59196e9635..6aaa8638b849ae8c650c80fb4917c3e807c9d38b 100644
(file)
--- 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;