unused variable

This commit is contained in:
Samuel Sieb 2024-11-23 22:55:02 -08:00
parent 773840d1d4
commit 2a3a95dea3

View File

@ -189,7 +189,6 @@ void ESPTime::recalc_timestamp_utc(bool use_day_of_year) {
} }
void ESPTime::recalc_timestamp_local() { void ESPTime::recalc_timestamp_local() {
time_t res = 0;
struct tm tm; struct tm tm;
tm.tm_year = this->year - 1900; tm.tm_year = this->year - 1900;