From 9002837750d3e48951d67f6cbb7aabe3a1eb9438 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Mon, 15 Oct 2012 10:43:46 -0700 Subject: [PATCH] Remove incorrect assert in tasksys.cpp --- examples/tasksys.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/tasksys.cpp b/examples/tasksys.cpp index d747140b..10f3c439 100644 --- a/examples/tasksys.cpp +++ b/examples/tasksys.cpp @@ -1033,7 +1033,6 @@ AllocTaskGroup() { if (tg != NULL) { void *ptr = lAtomicCompareAndSwapPointer((void **)(&freeTaskGroups[i]), NULL, tg); if (ptr != NULL) { - assert(ptr == tg); return (TaskGroup *)ptr; } }