From ac29f18f791fdcb96a00be1bb74f6debc154aabd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 26 Oct 2005 11:43:49 +0000 Subject: [PATCH] gst/tcp/: Remove unused 'curoffset' structure member. Original commit message from CVS: * gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init): * gst/tcp/gsttcpclientsrc.h: * gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init): * gst/tcp/gsttcpserversrc.h: Remove unused 'curoffset' structure member. --- ChangeLog | 8 ++++++++ gst/tcp/gsttcpclientsrc.c | 1 - gst/tcp/gsttcpclientsrc.h | 3 --- gst/tcp/gsttcpserversrc.c | 1 - gst/tcp/gsttcpserversrc.h | 3 --- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6792c2c670..16e4c91e18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-10-26 Tim-Philipp Müller + + * gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init): + * gst/tcp/gsttcpclientsrc.h: + * gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init): + * gst/tcp/gsttcpserversrc.h: + Remove unused 'curoffset' structure member. + 2005-10-25 Zeeshan Ali * gst-libs/gst/rtp/gstbasertpdepayload.c: diff --git a/gst/tcp/gsttcpclientsrc.c b/gst/tcp/gsttcpclientsrc.c index 27f0bc0771..52abee788a 100644 --- a/gst/tcp/gsttcpclientsrc.c +++ b/gst/tcp/gsttcpclientsrc.c @@ -153,7 +153,6 @@ gst_tcpclientsrc_init (GstTCPClientSrc * this, GstTCPClientSrcClass * g_class) this->sock_fd = -1; this->protocol = GST_TCP_PROTOCOL_NONE; this->caps = NULL; - this->curoffset = 0; READ_SOCKET (this) = -1; WRITE_SOCKET (this) = -1; diff --git a/gst/tcp/gsttcpclientsrc.h b/gst/tcp/gsttcpclientsrc.h index 8972cfb156..cb20f883f1 100644 --- a/gst/tcp/gsttcpclientsrc.h +++ b/gst/tcp/gsttcpclientsrc.h @@ -67,9 +67,6 @@ struct _GstTCPClientSrc { int sock_fd; int control_fds[2]; - /* number of bytes we've gotten */ - off_t curoffset; - GstTCPProtocol protocol; /* protocol used for reading data */ gboolean caps_received; /* if we have received caps yet */ GstCaps *caps; diff --git a/gst/tcp/gsttcpserversrc.c b/gst/tcp/gsttcpserversrc.c index d8627f1d77..7558059115 100644 --- a/gst/tcp/gsttcpserversrc.c +++ b/gst/tcp/gsttcpserversrc.c @@ -148,7 +148,6 @@ gst_tcpserversrc_init (GstTCPServerSrc * src, GstTCPServerSrcClass * g_class) src->host = g_strdup (TCP_DEFAULT_HOST); src->server_sock_fd = -1; src->client_sock_fd = -1; - src->curoffset = 0; src->protocol = GST_TCP_PROTOCOL_NONE; READ_SOCKET (src) = -1; diff --git a/gst/tcp/gsttcpserversrc.h b/gst/tcp/gsttcpserversrc.h index c96e11abd0..1fe65825cf 100644 --- a/gst/tcp/gsttcpserversrc.h +++ b/gst/tcp/gsttcpserversrc.h @@ -74,9 +74,6 @@ struct _GstTCPServerSrc { int control_fds[2]; - /* number of bytes we've gotten */ - off_t curoffset; - GstTCPProtocol protocol; /* protocol used for reading data */ gboolean caps_received; /* if we have received caps yet */ };