Fix some misplaced semicolons as found in build testing.

This commit is contained in:
Gregory Nutt 2017-08-12 14:27:48 -06:00
parent 45eb06c3c2
commit 4477cbcbd1
3 changed files with 3 additions and 2 deletions

View file

@ -73,7 +73,7 @@ void thread_func(void *parameter)
* 2 seconds by setting bendoftest in any event.
*/
for (i = 0; i < 20 && !bendoftest; i++);
for (i = 0; i < 20 && !bendoftest; i++)
{
if ((pthread_mutex_lock(&mut)) != 0)
{

View file

@ -73,7 +73,7 @@ void thread_func(void *parameter)
* 2 seconds by setting bendoftest in any event.
*/
for (i = 0; i < 20 && !bendoftest; i++);
for (i = 0; i < 20 && !bendoftest; i++)
{
if ((pthread_mutex_lock(&mut)) != 0)
{

View file

@ -76,6 +76,7 @@ static void *thread_func(FAR void *parameter)
{
pthread_yield();
}
my_mutex = 0;
status = pthread_mutex_unlock(&mut);