diff options
Diffstat (limited to 'source/blender/blenlib/tests/performance/BLI_task_performance_test.cc')
-rw-r--r-- | source/blender/blenlib/tests/performance/BLI_task_performance_test.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenlib/tests/performance/BLI_task_performance_test.cc b/source/blender/blenlib/tests/performance/BLI_task_performance_test.cc index adebb1edb8b..68fdf4031ab 100644 --- a/source/blender/blenlib/tests/performance/BLI_task_performance_test.cc +++ b/source/blender/blenlib/tests/performance/BLI_task_performance_test.cc @@ -36,10 +36,10 @@ static uint gen_pseudo_random_number(uint num) /* *** Parallel iterations over double-linked list items. *** */ -static void task_listbase_light_iter_func(void *UNUSED(userdata), +static void task_listbase_light_iter_func(void * /*userdata*/, void *item, int index, - const TaskParallelTLS *__restrict UNUSED(tls)) + const TaskParallelTLS *__restrict /*tls*/) { LinkData *data = (LinkData *)item; @@ -50,7 +50,7 @@ static void task_listbase_light_iter_func(void *UNUSED(userdata), static void task_listbase_light_membarrier_iter_func(void *userdata, void *item, int index, - const TaskParallelTLS *__restrict UNUSED(tls)) + const TaskParallelTLS *__restrict /*tls*/) { LinkData *data = (LinkData *)item; @@ -60,10 +60,10 @@ static void task_listbase_light_membarrier_iter_func(void *userdata, atomic_sub_and_fetch_uint32((uint32_t *)count, 1); } -static void task_listbase_heavy_iter_func(void *UNUSED(userdata), +static void task_listbase_heavy_iter_func(void * /*userdata*/, void *item, int index, - const TaskParallelTLS *__restrict UNUSED(tls)) + const TaskParallelTLS *__restrict /*tls*/) { LinkData *data = (LinkData *)item; @@ -79,7 +79,7 @@ static void task_listbase_heavy_iter_func(void *UNUSED(userdata), static void task_listbase_heavy_membarrier_iter_func(void *userdata, void *item, int index, - const TaskParallelTLS *__restrict UNUSED(tls)) + const TaskParallelTLS *__restrict /*tls*/) { LinkData *data = (LinkData *)item; |