Fix compile warnings on Solaris 10 buildbot

Original commit message from CVS:
Fix compile warnings on Solaris 10 buildbot
This commit is contained in:
Tim-Philipp Müller 2005-01-17 16:57:46 +00:00
parent be2a70cf23
commit 952676b5a3
2 changed files with 9 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2005-01-17 Tim-Philipp Müller <tim at centricular dot net>
* ext/dvdread/dvdreadsrc.c: (get_next_cell_for):
Fix compile warnings on Solaris 10 buildbot
2005-01-17 Tim-Philipp Müller <tim at centricular dot net>
* ext/dvdread/dvdreadsrc.c: (_read):

View file

@ -746,13 +746,11 @@ get_next_cell_for (DVDReadSrcPrivate * priv, int cell)
return cell + i + 1;
}
}
} else {
return cell + 1;
/* not reached */
}
/* shut up compiler */
g_assert_not_reached ();
return -1;
return cell + 1;
}
/*
@ -1107,7 +1105,7 @@ dvdreadsrc_change_state (GstElement * element)
* URI interface.
*/
static guint
static GstURIType
dvdreadsrc_uri_get_type (void)
{
return GST_URI_SRC;