From 63267ee0fd49e1d70eae7d20a028fd01a05c070b Mon Sep 17 00:00:00 2001 From: pennam Date: Mon, 25 Nov 2024 15:11:05 +0100 Subject: [PATCH] Add missing variable initialization in Context --- src/Arduino_ESP32_OTA.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Arduino_ESP32_OTA.cpp b/src/Arduino_ESP32_OTA.cpp index 39dd327..255cd49 100644 --- a/src/Arduino_ESP32_OTA.cpp +++ b/src/Arduino_ESP32_OTA.cpp @@ -369,6 +369,7 @@ Arduino_ESP32_OTA::Context::Context( , calculatedCrc32(0xFFFFFFFF) , headerCopiedBytes(0) , downloadedSize(0) + , writtenBytes(0) , error(Error::None) , decoder(putc) { strcpy(this->url, url);