Remove variable for unused parameter.

This commit is contained in:
Magnus Johansson 2023-10-13 11:40:42 +02:00 committed by Hans-Erik Floryd
parent a901500618
commit f5a32959b2
3 changed files with 5 additions and 5 deletions

View File

@ -404,8 +404,8 @@ int main(int argc, char *argv[])
if (argc > 1) if (argc > 1)
{ {
/* create thread to handle slave error handling in OP */ /* create thread to handle slave error handling in OP */
// pthread_create( &thread1, NULL, (void *) &ecatcheck, (void*) &ctime); // pthread_create( &thread1, NULL, (void *) &ecatcheck, NULL);
osal_thread_create(&thread1, 128000, &ecatcheck, (void*) &ctime); osal_thread_create(&thread1, 128000, &ecatcheck, NULL);
/* start cyclic part */ /* start cyclic part */
teststarter(argv[1]); teststarter(argv[1]);

View File

@ -235,8 +235,8 @@ int main(int argc, char *argv[])
if (argc > 1) if (argc > 1)
{ {
/* create thread to handle slave error handling in OP */ /* create thread to handle slave error handling in OP */
// pthread_create( &thread1, NULL, (void *) &ecatcheck, (void*) &ctime); // pthread_create( &thread1, NULL, (void *) &ecatcheck, NULL);
osal_thread_create(&thread1, 128000, &ecatcheck, (void*) &ctime); osal_thread_create(&thread1, 128000, &ecatcheck, NULL);
/* start cyclic part */ /* start cyclic part */
simpletest(argv[1]); simpletest(argv[1]);
} }

View File

@ -350,7 +350,7 @@ int main(int argc, char *argv[])
if (argc > 1) if (argc > 1)
{ {
/* create thread to handle slave error handling in OP */ /* 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]); strcpy(ifbuf, argv[1]);
/* start cyclic part */ /* start cyclic part */
simpletest(ifbuf); simpletest(ifbuf);