apps/examplessmp: Fix a place where a spurious semicolon causes bad conditional logic
This commit is contained in:
parent
0fcc63b642
commit
6a68a12269
@ -309,7 +309,7 @@ int smp_main(int argc, char *argv[])
|
|||||||
|
|
||||||
for (i = 0; i < CONFIG_EXAMPLES_SMP_NBARRIER_THREADS; i++)
|
for (i = 0; i < CONFIG_EXAMPLES_SMP_NBARRIER_THREADS; i++)
|
||||||
{
|
{
|
||||||
if (threadid[i] != 0);
|
if (threadid[i] != 0)
|
||||||
{
|
{
|
||||||
ret = pthread_join(threadid[i], &result);
|
ret = pthread_join(threadid[i], &result);
|
||||||
show_cpu_conditional(" Main", 0);
|
show_cpu_conditional(" Main", 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user