pstream: Duplicate assignment, write.data is always NULL

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
Peter Meerwald 2014-10-24 12:06:30 +02:00
parent 7bb708d953
commit 8ce2bfa4d0

View file

@ -570,7 +570,6 @@ static void prepare_next_write_item(pa_pstream *p) {
p->write.descriptor[PA_PSTREAM_DESCRIPTOR_LENGTH] = htonl((uint32_t) p->write.current->chunk.length); p->write.descriptor[PA_PSTREAM_DESCRIPTOR_LENGTH] = htonl((uint32_t) p->write.current->chunk.length);
p->write.memchunk = p->write.current->chunk; p->write.memchunk = p->write.current->chunk;
pa_memblock_ref(p->write.memchunk.memblock); pa_memblock_ref(p->write.memchunk.memblock);
p->write.data = NULL;
} }
p->write.descriptor[PA_PSTREAM_DESCRIPTOR_FLAGS] = htonl(flags); p->write.descriptor[PA_PSTREAM_DESCRIPTOR_FLAGS] = htonl(flags);