diff --git a/src/PubSubClient.cpp b/src/PubSubClient.cpp index 0fa420d..12d1ad3 100755 --- a/src/PubSubClient.cpp +++ b/src/PubSubClient.cpp @@ -453,7 +453,6 @@ boolean PubSubClient::beginPublish(const char* topic, unsigned int plength, bool // Send the header and variable length field uint16_t length = MQTT_MAX_HEADER_SIZE; length = writeString(topic,buffer,length); - uint16_t i; uint8_t header = MQTTPUBLISH; if (retained) { header |= 1;