diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-12-02 02:22:43 +0100 |
---|---|---|
committer | Thomas Jansen <mithi@mithi.net> | 2008-12-02 02:22:43 +0100 |
commit | 2720585731eb6a39fece86fb675a644b8ea803ae (patch) | |
tree | 43c66f17c1266e484b6f8fa9951cdd98920a0f2b /src/tag_id3.c | |
parent | 4ca24f22f191033e5dbb88f34e4088bc2814ed0f (diff) | |
download | mpd-2720585731eb6a39fece86fb675a644b8ea803ae.tar.gz mpd-2720585731eb6a39fece86fb675a644b8ea803ae.tar.xz mpd-2720585731eb6a39fece86fb675a644b8ea803ae.zip |
replaced mpd_likely/mpd_unlikely by G_LIKELY/G_UNLIKELY
We want to remove gcc.h eventually. This takes care of all the
G_LIKELY/G_UNLIKELY macros.
Diffstat (limited to '')
-rw-r--r-- | src/tag_id3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tag_id3.c b/src/tag_id3.c index 8f10fedb2..83e7bac14 100644 --- a/src/tag_id3.c +++ b/src/tag_id3.c @@ -52,7 +52,7 @@ static id3_utf8_t * processID3FieldString (int is_id3v1, const id3_ucs4_t *ucs4, GError *error = NULL; isostr = id3_ucs4_latin1duplicate(ucs4); - if (mpd_unlikely(!isostr)) { + if (G_UNLIKELY(!isostr)) { return NULL; } @@ -70,7 +70,7 @@ static id3_utf8_t * processID3FieldString (int is_id3v1, const id3_ucs4_t *ucs4, free(isostr); } else { utf8 = id3_ucs4_utf8duplicate(ucs4); - if (mpd_unlikely(!utf8)) { + if (G_UNLIKELY(!utf8)) { return NULL; } } |