mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -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
|
@ -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 ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue