[gnome-session/gnome-3-20] client: fix GCC warnings
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session/gnome-3-20] client: fix GCC warnings
- Date: Mon, 11 Jul 2016 14:44:37 +0000 (UTC)
commit 0740ec32db7368837da13842db9fd5420f669b88
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jun 29 23:38:29 2016 -0700
client: fix GCC warnings
https://bugzilla.gnome.org/show_bug.cgi?id=766836
gnome-session/gsm-dbus-client.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/gsm-dbus-client.c b/gnome-session/gsm-dbus-client.c
index e5b9985..6f5099f 100644
--- a/gnome-session/gsm-dbus-client.c
+++ b/gnome-session/gsm-dbus-client.c
@@ -149,13 +149,14 @@ get_caller_info (GsmDBusClient *client,
pid_t pid;
retval = FALSE;
+ connection = NULL;
+ uid_variant = pid_variant = NULL;
if (sender == NULL) {
goto out;
}
error = NULL;
- uid_variant = pid_variant = NULL;
connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
if (error != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]