Browse code

b/f core: got rid of unnecessary variable

Szókovács Róbert authored on 09/12/2013 13:00:44
Showing 1 changed files
... ...
@@ -571,7 +571,6 @@ int AmBasicSipDialog::reply(const AmSipRequest& req,
571 571
   }
572 572
   DBG("reply: transaction found!\n");
573 573
     
574
-  string m_hdrs = hdrs;
575 574
   AmSipReply reply;
576 575
 
577 576
   reply.code = code;
... ...
@@ -579,7 +578,7 @@ int AmBasicSipDialog::reply(const AmSipRequest& req,
579 578
   reply.tt = req.tt;
580 579
   if((code > 100) && !(flags & SIP_FLAGS_NOTAG))
581 580
     reply.to_tag = ext_local_tag.empty() ? local_tag : ext_local_tag;
582
-  reply.hdrs = m_hdrs;
581
+  reply.hdrs = hdrs;
583 582
   reply.cseq = req.cseq;
584 583
   reply.cseq_method = req.method;
585 584