[gnome-color-manager/gnome-2-32] trivial: fix another error path return value pointed out by clang
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager/gnome-2-32] trivial: fix another error path return value pointed out by clang
- Date: Tue, 31 Aug 2010 11:46:47 +0000 (UTC)
commit 12da8eb6ef8b17556d3b756c086d7748304503e8
Author: Richard Hughes <richard hughsie com>
Date: Tue Aug 31 12:46:44 2010 +0100
trivial: fix another error path return value pointed out by clang
src/gcm-client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-client.c b/src/gcm-client.c
index 592386e..b778241 100644
--- a/src/gcm-client.c
+++ b/src/gcm-client.c
@@ -1009,7 +1009,7 @@ out:
gboolean
gcm_client_add_connected (GcmClient *client, GcmClientColdplug coldplug, GError **error)
{
- gboolean ret;
+ gboolean ret = TRUE;
GThread *thread;
g_return_val_if_fail (GCM_IS_CLIENT (client), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]