mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Use nullptr (#816)
Changes applied by 'clang-modernize -use-nullptr [...]'
This commit is contained in:
@@ -68,7 +68,7 @@ void CThreadPool::handlePipeReadable() const {
|
||||
}
|
||||
|
||||
CJob *CThreadPool::getJobFromPipe() const {
|
||||
CJob* a = NULL;
|
||||
CJob* a = nullptr;
|
||||
ssize_t need = sizeof(a);
|
||||
ssize_t r = read(m_iJobPipe[0], &a, need);
|
||||
if (r != need) {
|
||||
|
||||
Reference in New Issue
Block a user