Skip to content

Commit

Permalink
Remove variable for unused parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Johansson committed Oct 13, 2023
1 parent a901500 commit 577e3d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/linux/eoe_test/eoe_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
4 changes: 2 additions & 2 deletions test/linux/simple_test/simple_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down
2 changes: 1 addition & 1 deletion test/win32/simple_test/simple_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 577e3d6

Please sign in to comment.