Removed an unused variable
This commit is contained in:
parent
26ce89fa47
commit
bc65fe5244
@ -453,7 +453,6 @@ boolean PubSubClient::beginPublish(const char* topic, unsigned int plength, bool
|
|||||||
// Send the header and variable length field
|
// Send the header and variable length field
|
||||||
uint16_t length = MQTT_MAX_HEADER_SIZE;
|
uint16_t length = MQTT_MAX_HEADER_SIZE;
|
||||||
length = writeString(topic,buffer,length);
|
length = writeString(topic,buffer,length);
|
||||||
uint16_t i;
|
|
||||||
uint8_t header = MQTTPUBLISH;
|
uint8_t header = MQTTPUBLISH;
|
||||||
if (retained) {
|
if (retained) {
|
||||||
header |= 1;
|
header |= 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user