Remove not required register keyword

This commit is contained in:
Thomas Basler 2023-03-20 18:05:57 +01:00
parent ac73747a29
commit 70130f47ae

View File

@ -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 };