From: Kevin Day Date: Sat, 22 Jul 2023 01:09:23 +0000 (-0500) Subject: Cleanup: Remove useless NULL assignment to pointer. X-Git-Tag: 0.6.7~19 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=9893bd5b92ea50d440cb6f833733fb45a8c4f898;p=fll Cleanup: Remove useless NULL assignment to pointer. This doesn't change the value of the pointer, so it should be a useless operation. --- diff --git a/level_0/f_thread/c/private-thread.c b/level_0/f_thread/c/private-thread.c index ded9821..564b7a8 100644 --- a/level_0/f_thread/c/private-thread.c +++ b/level_0/f_thread/c/private-thread.c @@ -12,8 +12,6 @@ extern "C" { return F_status_set_error(F_failure); } - attribute = 0; - return F_none; } #endif // !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_) || !defined(_di_f_thread_attributes_decrease_) || !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_) || !defined(_di_f_thread_attributes_resize_) || !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_) || !defined(_di_f_thread_sets_decrease_) || !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_) || !defined(_di_f_thread_sets_resize_) @@ -78,8 +76,6 @@ extern "C" { return F_status_set_error(F_failure); } - barrier = 0; - return F_none; } #endif // !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_) || !defined(_di_f_thread_barriers_decrease_) || !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_) || !defined(_di_f_thread_barriers_resize_) @@ -139,8 +135,6 @@ extern "C" { return F_status_set_error(F_failure); } - attribute = 0; - return F_none; } #endif // !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_) || !defined(_di_f_thread_barrier_attributes_decrease_) || !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_) || !defined(_di_f_thread_barrier_attributes_resize_)