From 2a3a95dea3fd7c97a75c20a3c3b09067ff3bed30 Mon Sep 17 00:00:00 2001 From: Samuel Sieb Date: Sat, 23 Nov 2024 22:55:02 -0800 Subject: [PATCH] unused variable --- esphome/core/time.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/esphome/core/time.cpp b/esphome/core/time.cpp index 288e9c4a82..31977d972b 100644 --- a/esphome/core/time.cpp +++ b/esphome/core/time.cpp @@ -189,7 +189,6 @@ void ESPTime::recalc_timestamp_utc(bool use_day_of_year) { } void ESPTime::recalc_timestamp_local() { - time_t res = 0; struct tm tm; tm.tm_year = this->year - 1900;