From 70130f47aeb0ce1a2243c97360f1d7a05515a648 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Mon, 20 Mar 2023 18:05:57 +0100 Subject: [PATCH] Remove not required register keyword --- lib/Hoymiles/src/parser/DevInfoParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Hoymiles/src/parser/DevInfoParser.cpp b/lib/Hoymiles/src/parser/DevInfoParser.cpp index 24ea883..343cdd0 100644 --- a/lib/Hoymiles/src/parser/DevInfoParser.cpp +++ b/lib/Hoymiles/src/parser/DevInfoParser.cpp @@ -170,8 +170,8 @@ uint8_t DevInfoParser::getDevIdx() /* struct tm to seconds since Unix epoch */ time_t DevInfoParser::timegm(struct tm* t) { - register uint32_t year; - register time_t result; + uint32_t year; + time_t result; #define MONTHSPERYEAR 12 /* months per calendar year */ static const int cumdays[MONTHSPERYEAR] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };