Fix some warnings under +w1 HP-UX compile

This is the world's fussiest compiler with +w1

Warnings reported by Richard Lloyd.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-04-11 17:03:03 +01:00
parent e81108a855
commit a4a0ffce71
10 changed files with 16 additions and 17 deletions
+2 -2
View File
@@ -2774,7 +2774,7 @@ namespace {
}
// Wait until the thread has finished launching and is gone to sleep
while (threads[i].state != THREAD_SLEEPING);
while (threads[i].state != THREAD_SLEEPING) {}
}
}
@@ -2815,7 +2815,7 @@ namespace {
SplitPoint* sp;
for (sp = threads[threadID].splitPoint; sp && !sp->stopRequest; sp = sp->parent);
for (sp = threads[threadID].splitPoint; sp && !sp->stopRequest; sp = sp->parent) {}
return sp != NULL;
}