mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
shm: remove dead code
Coverity 1139683
This commit is contained in:
parent
517252e110
commit
5feeee62c8
1 changed files with 1 additions and 5 deletions
|
@ -725,15 +725,11 @@ sp_writer_recv (ShmPipe * self, ShmClient * client, void **tag)
|
|||
if (buf->shm_area->id == cb.area_id &&
|
||||
buf->offset == cb.payload.ack_buffer.offset) {
|
||||
return sp_shmbuf_dec (self, buf, prev_buf, client, tag);
|
||||
break;
|
||||
}
|
||||
prev_buf = buf;
|
||||
}
|
||||
|
||||
if (!buf)
|
||||
return -2;
|
||||
|
||||
break;
|
||||
return -2;
|
||||
default:
|
||||
return -99;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue