Commit 5af953f9 authored by Tristan Matthews's avatar Tristan Matthews

* #9782: mainbuffer: get rid of unused vars

parent 84cc8833
......@@ -133,19 +133,16 @@ void MainBuffer::bindCallID(const std::string & call_id1, const std::string & ca
{
ost::MutexLock guard(mutex_);
RingBuffer* ring_buffer;
CallIDSet* callid_set;
if ((ring_buffer = getRingBuffer(call_id1)) == NULL)
if (getRingBuffer(call_id1) == NULL)
createRingBuffer(call_id1);
if ((callid_set = getCallIDSet(call_id1)) == NULL)
if (getCallIDSet(call_id1) == NULL)
createCallIDSet(call_id1);
if ((ring_buffer = getRingBuffer(call_id2)) == NULL)
if (getRingBuffer(call_id2) == NULL)
createRingBuffer(call_id2);
if ((callid_set = getCallIDSet(call_id2)) == NULL)
if (getCallIDSet(call_id2) == NULL)
createCallIDSet(call_id2);
getRingBuffer(call_id1)->createReadPointer(call_id2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment