]> Kevux Git Server - fll/commit
Cleanup: Use macro_f_string_static_t_initialize2() with macro_f_string_static_t_initi...
authorKevin Day <thekevinday@gmail.com>
Mon, 23 May 2022 01:51:29 +0000 (20:51 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 23 May 2022 01:51:29 +0000 (20:51 -0500)
commitc641c063beb30d04513776cf069300f5900cfc15
tree4c762483fbc9adb073df9dd8f80dd32aa9fe7455
parente7937372ce3520b43b8f0d52b7516cd588ef42f6
Cleanup: Use macro_f_string_static_t_initialize2() with macro_f_string_static_t_initialize().

Using macro_f_string_static_t_initialize2() was the old way and is now deemed incorrect.
The macro_f_string_static_t_initialize2() applies the length parameter to both the used and size.
For static strings the size is always 0 because nothing is dynamically allocated.
Therefore, using macro_f_string_static_t_initialize2() for static string initialization is incorrect.
level_1/fl_directory/c/directory.c
level_3/controller/c/entry/private-entry.c
level_3/fake/c/private-make-operate.c