Description of problem: I just tried to compile package gnome-media-2.8.0-4 from Redhat Fedora development tree. The compiler said linux-cdrom.c(868): warning #117: non-void function "linux_cdrom_get_status" should return a value The source code is return; But static gboolean linux_cdrom_get_status (GnomeCDRom *cdrom, GnomeCDRomStatus **status, GError **error) { Suggest add expression to return statement. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The upstream code still has that bug: if (ioctl (cdrom->fd, CDROMREADTOCHDR, priv->tochdr) < 0) { g_print ("Error reading CD header"); linux_cdrom_close (lcd); return; } Fixed upstream in: http://bugzilla.gnome.org/show_bug.cgi?id=403518 Thanks for the notice.