shm: remove dead code
Coverity 1139683
This commit is contained in:
parent
517252e110
commit
5feeee62c8
@ -725,15 +725,11 @@ sp_writer_recv (ShmPipe * self, ShmClient * client, void **tag)
|
|||||||
if (buf->shm_area->id == cb.area_id &&
|
if (buf->shm_area->id == cb.area_id &&
|
||||||
buf->offset == cb.payload.ack_buffer.offset) {
|
buf->offset == cb.payload.ack_buffer.offset) {
|
||||||
return sp_shmbuf_dec (self, buf, prev_buf, client, tag);
|
return sp_shmbuf_dec (self, buf, prev_buf, client, tag);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
prev_buf = buf;
|
prev_buf = buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!buf)
|
return -2;
|
||||||
return -2;
|
|
||||||
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return -99;
|
return -99;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user