Programming style improvement: following Cppcheck suggestions.

This commit is contained in:
brunoherbelin
2021-04-04 13:13:06 +02:00
parent b4627a1613
commit f443720319
51 changed files with 269 additions and 271 deletions

View File

@@ -225,8 +225,8 @@ std::ostream& operator<<( std::ostream & os, const ReceivedBundle& b )
for( ReceivedBundle::const_iterator i = b.ElementsBegin();
i != b.ElementsEnd(); ++i ){
if( i->IsBundle() ){
ReceivedBundle b(*i);
os << b << "\n";
ReceivedBundle rb(*i);
os << rb << "\n";
}else{
ReceivedMessage m(*i);
for( int j=0; j < indent; ++j )