[empathy: 1/2] libempathy-gtk: fix uninitialized variable
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 1/2] libempathy-gtk: fix uninitialized variable
- Date: Mon, 16 Mar 2015 08:43:56 +0000 (UTC)
commit f815a6b963bcb7ed8ca2e2c24b66e1858f0e01a0
Author: Mirco Tischler <mt-ml gmx de>
Date: Sun Mar 15 11:37:53 2015 +0100
libempathy-gtk: fix uninitialized variable
With -Werror this broke the build.
libempathy-gtk/empathy-contact-chooser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-chooser.c b/libempathy-gtk/empathy-contact-chooser.c
index b82aa93..05dbe34 100644
--- a/libempathy-gtk/empathy-contact-chooser.c
+++ b/libempathy-gtk/empathy-contact-chooser.c
@@ -213,7 +213,7 @@ get_contacts_cb (GObject *source,
GError *error = NULL;
FolksIndividual *individual;
TpContact *contact;
- EmpathyContact *emp_contact;
+ EmpathyContact *emp_contact = NULL;
self = tp_weak_ref_dup_object (wr);
if (self == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]