summaryrefslogtreecommitdiff
path: root/sys/shm/shmpipe.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2011-05-18 15:44:06 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-05-18 16:49:26 -0400
commit58ee65fe20ce6fd736b340880702252084c4cbf8 (patch)
tree5877e844226ddcb27e5120b995240f9648e5719e /sys/shm/shmpipe.c
parenta898d147ba84ad9bcfceac9e86c171155e36d3b3 (diff)
downloadgstreamer-plugins-bad-58ee65fe20ce6fd736b340880702252084c4cbf8.tar.gz
shm: Make gcc 4.6 happy
Remove warnings due to initialized but never used warnings
Diffstat (limited to 'sys/shm/shmpipe.c')
-rw-r--r--sys/shm/shmpipe.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/shm/shmpipe.c b/sys/shm/shmpipe.c
index 38711f9f3..c629ea05c 100644
--- a/sys/shm/shmpipe.c
+++ b/sys/shm/shmpipe.c
@@ -621,7 +621,7 @@ long int
sp_client_recv (ShmPipe * self, char **buf)
{
char *area_name = NULL;
- ShmArea *newarea, *oldarea;
+ ShmArea *newarea;
ShmArea *area;
struct CommandBuffer cb;
int retval;
@@ -648,13 +648,8 @@ sp_client_recv (ShmPipe * self, char **buf)
if (!newarea)
return -4;
- oldarea = self->shm_area;
newarea->next = self->shm_area;
self->shm_area = newarea;
- /*
- if (oldarea)
- sp_shm_area_dec (self, oldarea);
- */
break;
case COMMAND_CLOSE_SHM_AREA: