From 9893bd5b92ea50d440cb6f833733fb45a8c4f898 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 21 Jul 2023 20:09:23 -0500 Subject: [PATCH] Cleanup: Remove useless NULL assignment to pointer. This doesn't change the value of the pointer, so it should be a useless operation. --- level_0/f_thread/c/private-thread.c | 6 ------ 1 file changed, 6 deletions(-) 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_) -- 1.8.3.1