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.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user