minor fix for c tests
This commit is contained in:
parent
1538956b7f
commit
836a280a6a
|
@ -1,10 +1,10 @@
|
||||||
void testProccessArgs(int* ac, char***av)
|
void testProccessArgs(int* ac, char***av)
|
||||||
{
|
{
|
||||||
|
char** argv = *av;
|
||||||
if(*ac < 2)
|
if(*ac < 2)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
char** argv = *av;
|
|
||||||
if(strcmp(argv[1], "--with-threads") == 0)
|
if(strcmp(argv[1], "--with-threads") == 0)
|
||||||
{
|
{
|
||||||
printf("number of threads is %s\n", argv[2]);
|
printf("number of threads is %s\n", argv[2]);
|
||||||
|
|
Loading…
Reference in New Issue