mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 12:06:26 +01:00
unused variable
This commit is contained in:
parent
773840d1d4
commit
2a3a95dea3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user