From c6fd172191e71bb32920a31b067ac461e75d6153 Mon Sep 17 00:00:00 2001
From: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>
Date: Sun, 20 Sep 2026 17:14:12 -0300
Subject: Replace NULL pointer constants with nullptr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>
---
 src/part/localLister.cpp | 4 ++--
 src/part/scan.cpp        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/part/localLister.cpp b/src/part/localLister.cpp
index 94f6cf0..2f23a79 100644
--- a/src/part/localLister.cpp
+++ b/src/part/localLister.cpp
@@ -269,7 +269,7 @@ namespace Filelight
 #endif
       // What about afs?
 
-      while( (fstab_ent = getfsent()) != NULL )
+      while( (fstab_ent = getfsent()) != nullptr )
       {
          str = TQString( FS_FILE );
          if( str == "/" ) continue;
@@ -299,7 +299,7 @@ namespace Filelight
       //scan mtab, **** mtab should take priority, but currently it isn't
 
 #ifdef HAVE_MNTENT_H
-      while( ( mnt_ent = getmntent( fp ) ) != NULL )
+      while( ( mnt_ent = getmntent( fp ) ) != nullptr )
       {
          bool b = false;
 
diff --git a/src/part/scan.cpp b/src/part/scan.cpp
index 4a606ff..3617761 100644
--- a/src/part/scan.cpp
+++ b/src/part/scan.cpp
@@ -88,7 +88,7 @@ namespace Filelight
                Directory *d = *it;
                Iterator<File> jt;
 
-               while( !split.isEmpty() && d != NULL ) //if NULL we have got lost so abort!!
+               while( !split.isEmpty() && d != nullptr ) //if NULL we have got lost so abort!!
                {
                   jt = d->iterator();
 
-- 
cgit v1.2.3

