[totem/gnome-3-18] backend: Fix incorrect return type
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-3-18] backend: Fix incorrect return type
- Date: Thu, 19 Nov 2015 12:09:37 +0000 (UTC)
commit f34a7a8b62422e33f182602685ac982d74688cab
Author: Bjørn Lie <bjorn lie gmail com>
Date: Thu Nov 19 10:52:40 2015 +0100
backend: Fix incorrect return type
This function does not need a return so change it from static gchar to static void.
Without this change rpmlint complains about a missing return statement.
[ 421s] totem-debugsource-3.18.1-214.7.x86_64
[ 421s] ... running 01-check-debuginfo
[ 421s] ... testing for empty debuginfo packages
[ 421s] ... running 02-check-gcc-output
[ 421s] ... testing for serious compiler warnings
[ 421s] (using /usr/lib/build/checks-data/check_gcc_output)
[ 421s] (using //.build.log)
[ 421s]
[ 421s] I: Program returns random data in a function
[ 421s] E: totem no-return-in-nonvoid-function bacon-video-widget-gst-missing-plugins.c:253
[ 421s]
[ 421s] I: Program returns random data in a function
[ 421s] E: totem no-return-in-nonvoid-function bacon-video-widget-gst-missing-plugins.c:253
[ 421s] ### WATCHDOG MARKER START ###
[ 425s] [ 389.730291] sysrq: SysRq : Power Off
[ 425s] [ 389.888475] reboot: Power down
[ 427s] ### WATCHDOG MARKER END ###
https://bugzilla.gnome.org/show_bug.cgi?id=758324
.../bacon-video-widget-gst-missing-plugins.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-missing-plugins.c
b/src/backend/bacon-video-widget-gst-missing-plugins.c
index ade7bf8..db083a8 100644
--- a/src/backend/bacon-video-widget-gst-missing-plugins.c
+++ b/src/backend/bacon-video-widget-gst-missing-plugins.c
@@ -240,7 +240,7 @@ on_plugin_installation_done (GstInstallPluginsReturn res, gpointer user_data)
#ifdef GDK_WINDOWING_X11
#if GST_CHECK_VERSION (1, 5, 0)
-static gchar *
+static void
set_startup_notification_id (GstInstallPluginsContext *install_ctx)
{
gchar *startup_id;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]