Remove incorrect assert in tasksys.cpp

This commit is contained in:
Matt Pharr
2012-10-15 10:43:46 -07:00
parent 411d5b44ef
commit 9002837750

View File

@@ -1033,7 +1033,6 @@ AllocTaskGroup() {
if (tg != NULL) { if (tg != NULL) {
void *ptr = lAtomicCompareAndSwapPointer((void **)(&freeTaskGroups[i]), NULL, tg); void *ptr = lAtomicCompareAndSwapPointer((void **)(&freeTaskGroups[i]), NULL, tg);
if (ptr != NULL) { if (ptr != NULL) {
assert(ptr == tg);
return (TaskGroup *)ptr; return (TaskGroup *)ptr;
} }
} }