mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix Warnings: this ‘if’ clause does not guard
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(service_id != RS_SERVICE_TYPE_CHAT) ^~
This commit is contained in:
parent
5050d4f66a
commit
dd089a9683
@ -39,8 +39,8 @@ static const uint32_t RS_CHAT_SERIALIZER_FLAGS_NO_SIGNATURE = 0x0001;
|
||||
|
||||
RsItem *RsChatSerialiser::create_item(uint16_t service_id,uint8_t item_sub_id) const
|
||||
{
|
||||
if(service_id != RS_SERVICE_TYPE_CHAT)
|
||||
return NULL ;
|
||||
if (service_id != RS_SERVICE_TYPE_CHAT)
|
||||
return NULL;
|
||||
|
||||
switch(item_sub_id)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user