From 109974da4f9010a9ce235d43435e1d1d25ea79de Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Wed, 15 Apr 2026 02:16:31 +0300
Subject: [PATCH 31/31] sex.c: Replace NULL with nullptr

See RM #1994

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

diff --git a/common/sex.c b/common/sex.c
index 07e05d4d93..dc375dec5a 100644
--- a/common/sex.c
+++ b/common/sex.c
@@ -48,10 +48,10 @@ const char *sex_rule_name(sex_t kind)
   case SEX_FEMALE:
     return N_("Female");
   case SEX_UNKNOWN:
-    return NULL;
+    return nullptr;
   }
 
-  return NULL;
+  return nullptr;
 }
 
 /************************************************************************//**
@@ -61,8 +61,8 @@ const char *sex_name_translation(sex_t kind)
 {
   const char *rule_name = sex_rule_name(kind);
 
-  if (rule_name == NULL) {
-    return NULL;
+  if (rule_name == nullptr) {
+    return nullptr;
   }
 
   return _(rule_name);
@@ -86,5 +86,5 @@ const char *sex_name_mnemonic(sex_t kind, const char *mnemonic)
     break;
   }
 
-  return NULL;
+  return nullptr;
 }
-- 
2.53.0

