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:
Phenom 2017-05-08 11:46:54 +02:00
parent 5050d4f66a
commit dd089a9683

View File

@ -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 RsItem *RsChatSerialiser::create_item(uint16_t service_id,uint8_t item_sub_id) const
{ {
if(service_id != RS_SERVICE_TYPE_CHAT) if (service_id != RS_SERVICE_TYPE_CHAT)
return NULL ; return NULL;
switch(item_sub_id) switch(item_sub_id)
{ {