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:
Phenom 2016-10-22 23:48:19 +02:00
parent 74aa55e347
commit 674b6de381
63 changed files with 379 additions and 346 deletions

View file

@ -297,13 +297,13 @@ uint32_t RsChatLobbyConnectChallengeItem::serial_size()
}
uint32_t RsChatLobbyBouncingObject::serialized_size(bool include_signature)
{
uint32_t s = 0 ; // no header!
s += 8 ; // lobby_id
s += 8 ; // msg_id
s += GetTlvStringSize(nick) ; // nick
uint32_t s = 0; // no header!
s += 8; // lobby_id
s += 8; // msg_id
s += GetTlvStringSize(nick); // nick
if(include_signature)
s += signature.TlvSize() ; // signature
if (include_signature)
s += signature.TlvSize(); // signature
return s ;
}