Initialise the uninitialised.

This commit is contained in:
Alexander Andreev 2024-04-27 02:15:34 +04:00
parent a9a649d280
commit 9a8277dd07
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

4
main.c
View File

@ -18,8 +18,8 @@ void print_version(void);
void print_usage(void);
int main(const int argc, const char *const *const argv) {
price_t price;
wattage_t wattage;
price_t price = 0;
wattage_t wattage = 0;
interval_t interval = 0;
switch (parse_arguments(argc, argv, &price, &wattage, &interval)) {