From 1f99a5b2f39f44ae7c676f30fff076f557042b7c Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sat, 6 Jun 2026 01:52:29 +0300
Subject: [PATCH 35/35] workertask.c: Replace NULL with nullptr

See RM #2045

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 common/workertask.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/workertask.c b/common/workertask.c
index 8693151c9d..e8f061613f 100644
--- a/common/workertask.c
+++ b/common/workertask.c
@@ -30,7 +30,7 @@
 ****************************************************************************/
 void worker_task_init(struct worker_task *ptask)
 {
-  ptask->ptile = NULL;
+  ptask->ptile = nullptr;
   ptask->want = 0;
 }
 
@@ -39,11 +39,11 @@ void worker_task_init(struct worker_task *ptask)
 ****************************************************************************/
 bool worker_task_is_sane(struct worker_task *ptask)
 {
-  if (ptask == NULL) {
+  if (ptask == nullptr) {
     return FALSE;
   }
 
-  if (ptask->ptile == NULL) {
+  if (ptask->ptile == nullptr) {
     return FALSE;
   }
 
@@ -52,7 +52,7 @@ bool worker_task_is_sane(struct worker_task *ptask)
   }
 
   if (activity_requires_target(ptask->act)) {
-    if (ptask->tgt == NULL) {
+    if (ptask->tgt == nullptr) {
       return FALSE;
     }
     if (!is_extra_caused_by(ptask->tgt,
-- 
2.53.0

