Skip to content
Snippets Groups Projects
Commit 7ff25e6f authored by Rafaël Carré's avatar Rafaël Carré
Browse files

MainBuffer::putData() : remove unused return argument

parent ab18c6d0
Branches
Tags
No related merge requests found
......@@ -298,15 +298,13 @@ void MainBuffer::unBindAllHalfDuplexOut (std::string process_id)
}
int MainBuffer::putData (void *buffer, int toCopy, std::string call_id)
void MainBuffer::putData (void *buffer, int toCopy, std::string call_id)
{
ost::MutexLock guard (_mutex);
RingBuffer* ring_buffer = getRingBuffer (call_id);
if (!ring_buffer)
return 0;
return ring_buffer->Put (buffer, toCopy);
if (ring_buffer)
ring_buffer->Put (buffer, toCopy);
}
int MainBuffer::getData (void *buffer, int toCopy, std::string call_id)
......
......@@ -89,7 +89,7 @@ class MainBuffer
void unBindAllHalfDuplexOut (std::string process_id);
int putData (void *buffer, int toCopy, std::string call_id = default_id);
void putData (void *buffer, int toCopy, std::string call_id = default_id);
int getData (void *buffer, int toCopy, std::string call_id = default_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment