[empathy] initialize a GError pointer



commit fe45d91be46ad4c05bdecf162b720ee7502c3f30
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed May 19 09:51:02 2010 +0200

    initialize a GError pointer

 libempathy/empathy-dispatcher.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 2141b0b..e476fc6 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -347,7 +347,7 @@ dispatcher_connection_invalidated_cb (TpConnection *connection,
   if (connection_data != NULL)
     {
       GList *l;
-      GError *error;
+      GError *error = NULL;
 
       error = g_error_new_literal (domain, code, message);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]