GNOME Bugzilla – Bug 658337
Fix missing return statements
Last modified: 2011-09-19 03:12:04 UTC
2.1.91 has two warnings about missing return statements that create issues in openSUSE. The patch is rather trivial.
Created attachment 195764 [details] [review] Fix missing return statements
Comment on attachment 195764 [details] [review] Fix missing return statements Looks good. Thanks for the catch. >From 2634b72b59d18699353514348059c7d31aaf154c Mon Sep 17 00:00:00 2001 >From: Vincent Untz <vuntz@gnome.org> >Date: Tue, 6 Sep 2011 08:21:22 +0200 >Subject: [PATCH] Fix missing return statements > >https://bugzilla.gnome.org/show_bug.cgi?id=658337 >--- > bus/at-spi-bus-launcher.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c >index 369998a..334258c 100644 >--- a/bus/at-spi-bus-launcher.c >+++ b/bus/at-spi-bus-launcher.c >@@ -205,6 +205,8 @@ ensure_a11y_bus (A11yBusLauncher *app) > close (app->pipefd[0]); > close (app->pipefd[1]); > app->state = A11Y_BUS_STATE_ERROR; >+ >+ return FALSE; > } > > static void >@@ -487,6 +489,8 @@ get_desktop_schema () > if (!strcmp (schemas[i], "org.gnome.desktop.interface")) > return g_settings_new (schemas[i]); > } >+ >+ return NULL; > } > > static void >-- >1.7.6.1
Comment on attachment 195764 [details] [review] Fix missing return statements >From 2634b72b59d18699353514348059c7d31aaf154c Mon Sep 17 00:00:00 2001 >From: Vincent Untz <vuntz@gnome.org> >Date: Tue, 6 Sep 2011 08:21:22 +0200 >Subject: [PATCH] Fix missing return statements > >https://bugzilla.gnome.org/show_bug.cgi?id=658337 >--- > bus/at-spi-bus-launcher.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c >index 369998a..334258c 100644 >--- a/bus/at-spi-bus-launcher.c >+++ b/bus/at-spi-bus-launcher.c >@@ -205,6 +205,8 @@ ensure_a11y_bus (A11yBusLauncher *app) > close (app->pipefd[0]); > close (app->pipefd[1]); > app->state = A11Y_BUS_STATE_ERROR; >+ >+ return FALSE; > } > > static void >@@ -487,6 +489,8 @@ get_desktop_schema () > if (!strcmp (schemas[i], "org.gnome.desktop.interface")) > return g_settings_new (schemas[i]); > } >+ >+ return NULL; > } > > static void >-- >1.7.6.1
I've gone ahead and committed (a50504).