From a7fb88e293106e15cf03caae0e8c2003f434895a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Wed, 26 Oct 2022 09:16:54 +0200 Subject: [PATCH] make cppcheck happy about stuff it shouldn't care for --- src/mqtt/MQTT.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mqtt/MQTT.cpp b/src/mqtt/MQTT.cpp index 9d6c6822..2e8008ac 100644 --- a/src/mqtt/MQTT.cpp +++ b/src/mqtt/MQTT.cpp @@ -197,6 +197,7 @@ bool MQTT::wantsLink() const #if HAS_ETHERNET return hasChannel && (Ethernet.linkStatus() == LinkON); #endif + return false; } int32_t MQTT::runOnce()