Skip to content

Commit e09e5c1

Browse files
authored
Merge pull request #41 from arduino-libraries/add-initialization
Add missing variable initialization in Context
2 parents d731aaf + 63267ee commit e09e5c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Arduino_ESP32_OTA.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ Arduino_ESP32_OTA::Context::Context(
386386
, calculatedCrc32(0xFFFFFFFF)
387387
, headerCopiedBytes(0)
388388
, downloadedSize(0)
389+
, writtenBytes(0)
389390
, error(Error::None)
390391
, decoder(putc) {
391392
strcpy(this->url, url);

0 commit comments

Comments
 (0)