[farsight2/master] msnconnection: Remove unused variables
Olivier Crête
olivier.crete at collabora.co.uk
Wed Aug 12 11:23:52 PDT 2009
---
gst/fsmsnconference/fs-msn-connection.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/gst/fsmsnconference/fs-msn-connection.c b/gst/fsmsnconference/fs-msn-connection.c
index dd71216..394fa41 100644
--- a/gst/fsmsnconference/fs-msn-connection.c
+++ b/gst/fsmsnconference/fs-msn-connection.c
@@ -559,7 +559,6 @@ fs_msn_connection_attempt_connection_locked (FsMsnConnection *connection,
GError **error)
{
FsMsnConnection *self = FS_MSN_CONNECTION (connection);
- FsMsnPollFD *pollfd;
gint fd = -1;
gint ret;
struct sockaddr_in theiraddr;
@@ -597,8 +596,7 @@ fs_msn_connection_attempt_connection_locked (FsMsnConnection *connection,
}
FS_MSN_CONNECTION_LOCK (self);
- pollfd = add_pollfd_locked (self, fd, successful_connection_cb, TRUE, TRUE,
- FALSE);
+ add_pollfd_locked (self, fd, successful_connection_cb, TRUE, TRUE, FALSE);
FS_MSN_CONNECTION_UNLOCK (self);
return TRUE;
@@ -610,7 +608,6 @@ accept_connection_cb (FsMsnConnection *self, FsMsnPollFD *pollfd)
struct sockaddr_in in;
int fd = -1;
socklen_t n = sizeof (in);
- FsMsnPollFD *newpollfd = NULL;
if (gst_poll_fd_has_error (self->poll, &pollfd->pollfd) ||
gst_poll_fd_has_closed (self->poll, &pollfd->pollfd))
@@ -627,7 +624,7 @@ accept_connection_cb (FsMsnConnection *self, FsMsnPollFD *pollfd)
}
FS_MSN_CONNECTION_LOCK (self);
- newpollfd = add_pollfd_locked (self, fd, connection_cb, TRUE, FALSE, TRUE);
+ add_pollfd_locked (self, fd, connection_cb, TRUE, FALSE, TRUE);
FS_MSN_CONNECTION_UNLOCK (self);
return;
--
1.5.6.5
More information about the farsight-commits
mailing list