suppress warnings
This commit is contained in:
@@ -178,7 +178,9 @@ char* MQTTFormat_toClientString(char* strbuf, int32_t strbuflen, uint8_t* buf, i
|
||||
strindex = snprintf(strbuf, strbuflen, "%s", MQTTPacket_names[header.bits.type]);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
(void) strindex;
|
||||
|
||||
return strbuf;
|
||||
}
|
||||
|
||||
@@ -260,6 +262,7 @@ char* MQTTFormat_toServerString(char* strbuf, int32_t strbuflen, uint8_t* buf, i
|
||||
break;
|
||||
}
|
||||
|
||||
(void) strindex;
|
||||
strbuf[strbuflen] = '\0';
|
||||
return strbuf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user