From a7be894ec4b61c3904d0e60adcb79360a81e20da Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 21 Jan 2023 00:14:24 -0600 Subject: [PATCH] Cleanup: Use the initializer define for initializing f_console_id_t. --- level_0/f_console/c/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_0/f_console/c/console.c b/level_0/f_console/c/console.c index d29a508..52f14f2 100644 --- a/level_0/f_console/c/console.c +++ b/level_0/f_console/c/console.c @@ -170,7 +170,7 @@ extern "C" { parameters->arguments.array[parameters->arguments.used].used = strnlen(arguments.argv[0], F_console_parameter_size_d); parameters->arguments.array[parameters->arguments.used++].size = 0; - f_console_id_t result = 0; + f_console_id_t result = f_console_id_t_initialize; bool found = F_false; // Parameter 0 represents the program name so skip it. -- 1.8.3.1