Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.

This commit is contained in:
Graydon Hoare
2011-07-13 15:44:09 -07:00
parent 04b239f3cb
commit 39151f2ad8
105 changed files with 393 additions and 390 deletions

View File

@@ -127,7 +127,7 @@ void task_start_wrapper(spawn_args *a)
a->f(&rval, task, a->a3, a->a4);
LOG(task, task, "task exited with value %d", rval);
LOG(task, task, "task ref_count: %d", task->ref_count);
A(task->sched, task->ref_count >= 0,
@@ -147,7 +147,7 @@ rust_task::start(uintptr_t spawnee_fn,
LOGPTR(sched, "from spawnee", spawnee_fn);
I(sched, stk->data != NULL);
char *sp = (char *)rust_sp;
sp -= sizeof(spawn_args);
@@ -481,7 +481,7 @@ rust_task::get_handle() {
bool rust_task::can_schedule(int id)
{
return yield_timer.has_timed_out() &&
return yield_timer.has_timed_out() &&
running_on == -1 &&
(pinned_on == -1 || pinned_on == id);
}