| 1791 | MemPool* m_pool; |
| 1792 | |
| 1793 | void validate() |
| 1794 | { |
| 1795 | if (m_pool) |
| 1796 | { |
| 1797 | char buf[256]; |
| 1798 | if (!m_pool->validate(buf, sizeof(buf))) |
| 1799 | { |
| 1800 | Syslog::Record(Syslog::Warning, buf); |
| 1801 | #ifdef MEM_DEBUG |
| 1802 | m_pool->print_contents("validate.failed", 0, NULL); |
| 1803 | #endif |
| 1804 | } |
| 1805 | } |
| 1806 | } |
| 1807 | }; |
| 1808 | #else |
| 1809 | class Validator |
nothing calls this directly
no test coverage detected