]> Kevux Git Server - fll/commitdiff
Cleanup: Use the initializer define for initializing f_console_id_t.
authorKevin Day <kevin@kevux.org>
Sat, 21 Jan 2023 06:14:24 +0000 (00:14 -0600)
committerKevin Day <kevin@kevux.org>
Sat, 21 Jan 2023 06:14:24 +0000 (00:14 -0600)
level_0/f_console/c/console.c

index d29a50867664826e06cd438d29a84b71466054ea..52f14f256926e9febfafd36e0977f1fe306f8f0c 100644 (file)
@@ -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.