From f5a32959b2cd601a797325493dc3f25f88796d6c Mon Sep 17 00:00:00 2001 From: Magnus Johansson Date: Fri, 13 Oct 2023 11:40:42 +0200 Subject: [PATCH] Remove variable for unused parameter. --- test/linux/eoe_test/eoe_test.c | 4 ++-- test/linux/simple_test/simple_test.c | 4 ++-- test/win32/simple_test/simple_test.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/linux/eoe_test/eoe_test.c b/test/linux/eoe_test/eoe_test.c index 98f8997..be98ed5 100644 --- a/test/linux/eoe_test/eoe_test.c +++ b/test/linux/eoe_test/eoe_test.c @@ -404,8 +404,8 @@ int main(int argc, char *argv[]) if (argc > 1) { /* create thread to handle slave error handling in OP */ -// pthread_create( &thread1, NULL, (void *) &ecatcheck, (void*) &ctime); - osal_thread_create(&thread1, 128000, &ecatcheck, (void*) &ctime); +// pthread_create( &thread1, NULL, (void *) &ecatcheck, NULL); + osal_thread_create(&thread1, 128000, &ecatcheck, NULL); /* start cyclic part */ teststarter(argv[1]); diff --git a/test/linux/simple_test/simple_test.c b/test/linux/simple_test/simple_test.c index d472146..721535b 100644 --- a/test/linux/simple_test/simple_test.c +++ b/test/linux/simple_test/simple_test.c @@ -235,8 +235,8 @@ int main(int argc, char *argv[]) if (argc > 1) { /* create thread to handle slave error handling in OP */ -// pthread_create( &thread1, NULL, (void *) &ecatcheck, (void*) &ctime); - osal_thread_create(&thread1, 128000, &ecatcheck, (void*) &ctime); +// pthread_create( &thread1, NULL, (void *) &ecatcheck, NULL); + osal_thread_create(&thread1, 128000, &ecatcheck, NULL); /* start cyclic part */ simpletest(argv[1]); } diff --git a/test/win32/simple_test/simple_test.c b/test/win32/simple_test/simple_test.c index d38fbeb..5cb1c19 100644 --- a/test/win32/simple_test/simple_test.c +++ b/test/win32/simple_test/simple_test.c @@ -350,7 +350,7 @@ int main(int argc, char *argv[]) if (argc > 1) { /* create thread to handle slave error handling in OP */ - osal_thread_create(&thread1, 128000, &ecatcheck, (void*) &ctime); + osal_thread_create(&thread1, 128000, &ecatcheck, NULL); strcpy(ifbuf, argv[1]); /* start cyclic part */ simpletest(ifbuf);