mirror of
https://github.com/znc/znc.git
synced 2026-06-12 01:34:58 +02:00
Use nullptr (#816)
Changes applied by 'clang-modernize -use-nullptr [...]'
This commit is contained in:
+1
-1
@@ -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