From 4cc9e4dd44eee38dcc0de8574dad721266a6b8cd Mon Sep 17 00:00:00 2001 From: Leo Zimmermann Date: Sun, 28 Jul 2019 21:37:01 +0200 Subject: [PATCH] removed unused static variable init_run --- src/WebOTA.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/WebOTA.cpp b/src/WebOTA.cpp index 89cef33..d0d3bb1 100644 --- a/src/WebOTA.cpp +++ b/src/WebOTA.cpp @@ -58,8 +58,6 @@ int WebOTA::init() { } int WebOTA::handle() { - static bool init_run = false; - // If we haven't run the init yet run it if (!this->init_has_run) { WebOTA::init();