From 2720585731eb6a39fece86fb675a644b8ea803ae Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Tue, 2 Dec 2008 02:22:43 +0100 Subject: 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. --- src/volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/volume.c') diff --git a/src/volume.c b/src/volume.c index 9fd33f010..fedccfd7e 100644 --- a/src/volume.c +++ b/src/volume.c @@ -526,7 +526,7 @@ void read_sw_volume_state(FILE *fp) if (!g_str_has_prefix(buf, SW_VOLUME_STATE)) continue; sv = strtol(buf + strlen(SW_VOLUME_STATE), &end, 10); - if (mpd_likely(!*end)) + if (G_LIKELY(!*end)) changeSoftwareVolume(sv, 0); else ERROR("Can't parse software volume: %s\n", buf); -- cgit v1.2.3