169c169
< System::registerThreadContext(ThreadContext *tc, int id)
---
> System::registerThreadContext(ThreadContext *tc)
171,175c171,174
< if (id == -1) {
< for (id = 0; id < threadContexts.size(); id++) {
< if (!threadContexts[id])
< break;
< }
---
> int id;
> for (id = 0; id < threadContexts.size(); id++) {
> if (!threadContexts[id])
> break;