[Telepathy-commits] [telepathy-salut/master] Coding style

Alban Crequy alban.crequy at collabora.co.uk
Thu Feb 26 11:20:11 PST 2009


---
 src/salut-disco.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/salut-disco.c b/src/salut-disco.c
index 474323d..c7df6b3 100644
--- a/src/salut-disco.c
+++ b/src/salut-disco.c
@@ -237,7 +237,7 @@ send_disco_request (SalutDisco *self,
   GibberXmppStanza *stanza;
   TpHandleRepoIface *contact_repo;
   const gchar *jid_from, *jid_to;
-  GError *error;
+  GError *error = NULL;
 
   contact_repo = tp_base_connection_get_handles (
       (TpBaseConnection*) priv->connection, TP_HANDLE_TYPE_CONTACT);
@@ -454,7 +454,7 @@ salut_disco_finalize (GObject *object)
  * There should be one of these per connection
  */
 SalutDisco *
-salut_disco_new (SalutConnection *connection, 
+salut_disco_new (SalutConnection *connection,
                  SalutXmppConnectionManager *xmpp_connection_manager)
 {
   SalutDisco *disco;
-- 
1.5.6.5




More information about the telepathy-commits mailing list