[next] telepathy-glib: dbus-tube-channel: no need to set result twice

Simon McVittie smcv at kemper.freedesktop.org
Wed Sep 17 05:22:52 PDT 2014


Module: telepathy-glib
Branch: next
Commit: 0ed8f442f49136d73045c29147f1e55b93dc80f1
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=0ed8f442f49136d73045c29147f1e55b93dc80f1

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue May 27 16:49:02 2014 +0200

dbus-tube-channel: no need to set result twice

---

 telepathy-glib/dbus-tube-channel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/telepathy-glib/dbus-tube-channel.c b/telepathy-glib/dbus-tube-channel.c
index 60dc2c0..2dfbf78 100644
--- a/telepathy-glib/dbus-tube-channel.c
+++ b/telepathy-glib/dbus-tube-channel.c
@@ -166,7 +166,7 @@ static void
 complete_operation (TpDBusTubeChannel *self)
 {
   TpDBusTubeChannelPrivate *priv = self->priv;
-  GSimpleAsyncResult *result = priv->result;
+  GSimpleAsyncResult *result;
 
   /* This dance is to ensure that we don't accidentally manipulate priv->result
    * while calling out to user code. For instance, someone might call



More information about the telepathy-commits mailing list