aboutsummaryrefslogtreecommitdiffstats
path: root/src/set-fields.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-06-29 15:27:21 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-06-29 15:29:29 -0700
commit16b5ca6e0df165bd8b9c2d8c7e4bc7d1b7efa25d (patch)
tree665d2e8164077b316fcfc5efa7d9915a145bd8bb /src/set-fields.c
parentbuild: ensure that makeinfo ≥ 6.8 checks the @menu structure (diff)
downloadcoreutils-16b5ca6e0df165bd8b9c2d8c7e4bc7d1b7efa25d.tar.gz
coreutils-16b5ca6e0df165bd8b9c2d8c7e4bc7d1b7efa25d.zip
maint: prefer C23-style nullptr
* bootstrap.conf (gnulib_modules): Add nullptr. In code, prefer nullptr to NULL where either will do.
Diffstat (limited to 'src/set-fields.c')
-rw-r--r--src/set-fields.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set-fields.c b/src/set-fields.c
index 027429c94..0f4f61ec3 100644
--- a/src/set-fields.c
+++ b/src/set-fields.c
@@ -72,7 +72,7 @@ complement_rp (void)
struct field_range_pair *c = frp;
size_t n = n_frp;
- frp = NULL;
+ frp = nullptr;
n_frp = 0;
n_frp_allocated = 0;