[Telepathy-commits] [telepathy-gabble/master] Initialise GError

Alban Crequy alban.crequy at collabora.co.uk
Sun Feb 1 05:23:55 PST 2009


---
 src/conn-location.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/conn-location.c b/src/conn-location.c
index f962e65..6df4f24 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -35,7 +35,7 @@ validate_contacts (TpBaseConnection *base,
 {
   TpHandleRepoIface *contact_handles = tp_base_connection_get_handles (base,
       TP_HANDLE_TYPE_CONTACT);
-  GError *error;
+  GError *error = NULL;
 
   if (!tp_handles_are_valid (contact_handles, contacts, TRUE, &error))
     {
-- 
1.5.6.5




More information about the Telepathy-commits mailing list