[gnome-online-accounts/gnome-3-16] daemon: Remove redundant NULL check
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-16] daemon: Remove redundant NULL check
- Date: Fri, 29 May 2015 13:31:18 +0000 (UTC)
commit 59ea02c73442a4c379652f856345b1810e967cd4
Author: Debarshi Ray <debarshir gnome org>
Date: Wed May 27 19:13:18 2015 +0200
daemon: Remove redundant NULL check
https://bugzilla.gnome.org/show_bug.cgi?id=693578
src/daemon/goadaemon.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/daemon/goadaemon.c b/src/daemon/goadaemon.c
index 067a1a9..33ca577 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -891,8 +891,7 @@ get_all_providers_cb (GObject *source,
out:
g_free (object_path);
- if (providers != NULL)
- g_list_free_full (providers, g_object_unref);
+ g_list_free_full (providers, g_object_unref);
g_free (key_file_data);
g_free (group);
g_free (id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]