From bc65fe5244cb4292dba2eeb4dd743af2c378d1f7 Mon Sep 17 00:00:00 2001 From: Brandon Piner Date: Thu, 9 May 2019 22:10:56 +0200 Subject: [PATCH] Removed an unused variable --- src/PubSubClient.cpp | 1 - 1 file changed, 1 deletion(-) 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;