Remove variable for unused parameter.
This commit is contained in:
parent
a901500618
commit
f5a32959b2
|
@ -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]);
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue