| 243 | } |
| 244 | |
| 245 | void ByteQueue::CleanupUsedNodes() |
| 246 | { |
| 247 | // Test for m_head due to Enterprise Anlysis finding |
| 248 | while (m_head && m_head != m_tail && m_head->UsedUp()) |
| 249 | { |
| 250 | ByteQueueNode *temp=m_head; |
| 251 | m_head=m_head->next; |
| 252 | delete temp; |
| 253 | } |
| 254 | |
| 255 | // Test for m_head due to Enterprise Anlysis finding |
| 256 | if (m_head && m_head->CurrentSize() == 0) |
| 257 | m_head->Clear(); |
| 258 | } |
| 259 | |
| 260 | void ByteQueue::LazyPut(const byte *inString, size_t size) |
| 261 | { |
nothing calls this directly
no test coverage detected