Skip to content

Commit 99741c8

Browse files
committed
tests: posix: pthread: remove unused pthread return value
Rather than pass an variable address to a `void *` in `pthread_join()` and do nothing with it, just pass `NULL`. Signed-off-by: Christopher Friedt <[email protected]> (cherry picked from commit 12ed08a)
1 parent 0a68392 commit 99741c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/posix/common/src/pthread.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,6 @@ void test_posix_pthread_create_negative(void)
563563

564564
void test_pthread_descriptor_leak(void)
565565
{
566-
void *unused;
567566
pthread_t pthread1;
568567
pthread_attr_t attr;
569568

0 commit comments

Comments
 (0)