diff --git a/groups/bdl/bdlcc/bdlcc_deque.h b/groups/bdl/bdlcc/bdlcc_deque.h index 3cef2a11cb..b1001b1c6a 100644 --- a/groups/bdl/bdlcc/bdlcc_deque.h +++ b/groups/bdl/bdlcc/bdlcc_deque.h @@ -75,7 +75,7 @@ BSLS_IDENT("$Id: $") // and the container has *space* *available* if it is not full. The high-water // mark is set at construction and cannot be changed afterward. If no // high-water mark is specified, the high-water mark of the container is -// effectively inifinite. Some of the variants of push operations (described +// effectively infinite. Some of the variants of push operations (described // below) may fail, and the return status of those operations indicates whether // the operation succeeded, failed, or partially succeeded (which may happen, // for example, when pushing a range of values). diff --git a/groups/bdl/bdlcc/bdlcc_deque.t.cpp b/groups/bdl/bdlcc/bdlcc_deque.t.cpp index bf674584e5..c9a5aca1af 100644 --- a/groups/bdl/bdlcc/bdlcc_deque.t.cpp +++ b/groups/bdl/bdlcc/bdlcc_deque.t.cpp @@ -6625,8 +6625,6 @@ int main(int argc, char *argv[]) enum { NUM_HIGH_WATER_MARKS = sizeof HIGH_WATER_MARKS / sizeof *HIGH_WATER_MARKS }; - int timesFull = 0; - for (int ti = 0; ti < NUM_HIGH_WATER_MARKS; ++ti) { const size_t HIGH_WATER_MARK = HIGH_WATER_MARKS[ti]; @@ -6649,7 +6647,6 @@ int main(int argc, char *argv[]) } const size_t len = X.length(); ASSERT(len <= HIGH_WATER_MARK); - timesFull += HIGH_WATER_MARK == len; if (expected & 1) { ASSERT(mX.popFront() == expected); } @@ -6674,7 +6671,6 @@ int main(int argc, char *argv[]) } const size_t len = X.length(); ASSERT(len <= HIGH_WATER_MARK); - timesFull += HIGH_WATER_MARK == len; if (expected & 1) { ASSERT(mX.popBack() == expected); } @@ -6688,10 +6684,6 @@ int main(int argc, char *argv[]) bslmt::ThreadUtil::join(handle); } - const int minTimesFull = NUM_HIGH_WATER_MARKS * 2 * 40 / 5; - ASSERTV(timesFull, minTimesFull, timesFull >= minTimesFull); - - if (veryVerbose) { P_(minTimesFull); P(timesFull); } ASSERTV(da.numAllocations(), 0 == da.numAllocations()); } break; case 14: {