mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-19 03:18:15 -04:00
Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated. Some lines are wrong indented and produce mal formed code.
This commit is contained in:
parent
74aa55e347
commit
674b6de381
63 changed files with 379 additions and 346 deletions
|
@ -770,7 +770,8 @@ bool p3VOIP::loadList(std::list<RsItem*>& load)
|
|||
RsConfigKeyValueSet *vitem = dynamic_cast<RsConfigKeyValueSet*>(*it) ;
|
||||
|
||||
if(vitem != NULL)
|
||||
for(std::list<RsTlvKeyValue>::const_iterator kit = vitem->tlvkvs.pairs.begin(); kit != vitem->tlvkvs.pairs.end(); ++kit)
|
||||
{
|
||||
for(std::list<RsTlvKeyValue>::const_iterator kit = vitem->tlvkvs.pairs.begin(); kit != vitem->tlvkvs.pairs.end(); ++kit)
|
||||
if(kit->key == "P3VOIP_CONFIG_ATRANSMIT")
|
||||
_atransmit = pop_int_value(kit->value) ;
|
||||
else if(kit->key == "P3VOIP_CONFIG_VOICEHOLD")
|
||||
|
@ -785,7 +786,7 @@ bool p3VOIP::loadList(std::list<RsItem*>& load)
|
|||
_min_loudness = pop_int_value(kit->value) ;
|
||||
else if(kit->key == "P3VOIP_CONFIG_ECHO_CNCL")
|
||||
_echo_cancel = pop_int_value(kit->value) ;
|
||||
|
||||
}
|
||||
delete vitem ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue