From c0cfd0bb41e535105d62484f75d4fd4452f81e7b Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 5 Apr 2021 16:27:52 +0800 Subject: [PATCH] remove dead code --- src/mqtt/MQTT.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mqtt/MQTT.cpp b/src/mqtt/MQTT.cpp index c000810c7..8d3a5eff9 100644 --- a/src/mqtt/MQTT.cpp +++ b/src/mqtt/MQTT.cpp @@ -75,11 +75,6 @@ void MQTT::reconnect() enabled = true; // Start running background process again runASAP = true; - static char subsStr[64]; /* We keep this static because the mqtt lib - might not be copying it */ - // snprintf(subsStr, sizeof(subsStr), "/ezd/todev/%s/#", clientId); - // pubSub.subscribe(subsStr, 1); // we use qos 1 because we don't want to miss messages - /// FIXME, include more information in the status text bool ok = pubSub.publish(myStatus.c_str(), "online", true); DEBUG_MSG("published %d\n", ok);