From: Mirco Tischler Date: Sun, 15 Mar 2015 10:37:53 +0000 (+0100) Subject: libempathy-gtk: fix uninitialized variable X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=f815a6b963bcb7ed8ca2e2c24b66e1858f0e01a0 libempathy-gtk: fix uninitialized variable With -Werror this broke the build. --- diff --git a/libempathy-gtk/empathy-contact-chooser.c b/libempathy-gtk/empathy-contact-chooser.c index b82aa93a..05dbe344 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)