[sound-juicer/gnome-3-18] Remove extraneous return
- From: Phillip Wood <pwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer/gnome-3-18] Remove extraneous return
- Date: Fri, 5 Feb 2016 11:08:09 +0000 (UTC)
commit 1f41a367fc84c72be80c0995764e8e665e1bb59d
Author: Phillip Wood <phillip wood dunelm org uk>
Date: Fri Feb 5 11:03:40 2016 +0000
Remove extraneous return
fill_tracks_from_medium() is a void function so it shouldn't be
returning NULL when bailing out early when there is an error.
libjuicer/sj-metadata-musicbrainz5.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libjuicer/sj-metadata-musicbrainz5.c b/libjuicer/sj-metadata-musicbrainz5.c
index d1f4e19..eeeb246 100644
--- a/libjuicer/sj-metadata-musicbrainz5.c
+++ b/libjuicer/sj-metadata-musicbrainz5.c
@@ -757,7 +757,6 @@ fill_tracks_from_medium (SjMetadataMusicbrainz5 *self,
if (*error != NULL) {
track_details_free (track);
g_list_free_full (tracks, (GDestroyNotify) track_details_free);
- return NULL;
}
if (track->duration == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]