Remove 'return' from `void` functions
authorScott D Phillips <scott.d.phillips@intel.com>
Fri, 11 Nov 2016 18:35:00 +0000 (10:35 -0800)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 12 Nov 2016 08:51:30 +0000 (10:51 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=774293

ext/ogg/gstoggstream.c
gst-libs/gst/video/gstvideotimecode.c

index 8426e46..34df107 100644 (file)
@@ -289,7 +289,7 @@ gst_ogg_stream_update_stats (GstOggStream * pad, ogg_packet * packet)
   if (!mappers[pad->map].get_headers_func)
     return;
 
-  return mappers[pad->map].update_stats_func (pad, packet);
+  mappers[pad->map].update_stats_func (pad, packet);
 }
 
 /* some generic functions */
index dcb9eb1..c89e1c4 100644 (file)
@@ -273,7 +273,7 @@ gst_video_time_code_frames_since_daily_jam (const GstVideoTimeCode * tc)
 void
 gst_video_time_code_increment_frame (GstVideoTimeCode * tc)
 {
-  return gst_video_time_code_add_frames (tc, 1);
+  gst_video_time_code_add_frames (tc, 1);
 }
 
 /**