From 94b3bcaac6fdef4fc8d2243fbe573f8f318064e0 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 10 Aug 2023 20:23:18 -0500 Subject: [PATCH] Cleanup: Use '{ 0 }' as initializer for f_thread_set_t_initialize. The f_thread_attribute_t_initialize works using '{ 0 }' as the initializer. For whatever reason, the compilers do not like explicit initializers with the auto NULL ones like '{ 0 }'. Switching to '{ 0 }' makes compilers happy and making compilers happy is often a good thing. --- level_0/f_thread/c/thread/set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_0/f_thread/c/thread/set.h b/level_0/f_thread/c/thread/set.h index 1a3e959..2dd9316 100644 --- a/level_0/f_thread/c/thread/set.h +++ b/level_0/f_thread/c/thread/set.h @@ -30,7 +30,7 @@ extern "C" { int result; } f_thread_set_t; - #define f_thread_set_t_initialize { f_thread_attribute_t_initialize, f_thread_id_t_initialize, 0 } + #define f_thread_set_t_initialize { 0 } #define macro_f_thread_set_t_initialize(attribute, id, result) { attribute, id, result } -- 1.8.3.1