From 28d1cec0ba372834a17e977dd3b778b895358e18 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sat, 23 Mar 2024 09:38:02 +0200
Subject: [PATCH 49/49] deprecations.c: Replace NULLs with nullptrs

See RM #348

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

diff --git a/utility/deprecations.c b/utility/deprecations.c
index b3225ef44d..5414bf931d 100644
--- a/utility/deprecations.c
+++ b/utility/deprecations.c
@@ -25,7 +25,7 @@
 
 #include "deprecations.h"
 
-static deprecation_warn_callback depr_cb = NULL;
+static deprecation_warn_callback depr_cb = nullptr;
 
 static bool depr_warns_enabled = FALSE;
 
@@ -64,7 +64,7 @@ void do_log_deprecation(const char *format, ...)
   va_start(args, format);
   vdo_log(__FILE__, __FUNCTION__, __FC_LINE__, FALSE, LOG_DEPRECATION,
           buf, sizeof(buf), format, args);
-  if (depr_cb != NULL) {
+  if (depr_cb != nullptr) {
     depr_cb(buf);
   }
   va_end(args);
-- 
2.43.0

