Removed unnecessary (double) casting of interval_to_seconds result to interval_t.

This commit is contained in:
Alexander Andreev 2022-10-07 03:50:57 +04:00
parent d398de1f8f
commit 7eecfbee01
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -42,7 +42,7 @@ int parse_arguments(const int argc, const char * const * const argv,
*wattage = (wattage_t)atof(argv[2]);
++pos;
} else
*interval += (interval_t)interval_to_seconds(argv[i]);
*interval += interval_to_seconds(argv[i]);
return 0;
}