maint: avoid syntax-check failure from previous commit

* src/sort.c (pipe_child): Use nullptr instead of NULL.
This commit is contained in:
Collin Funk 2025-10-30 22:05:20 -07:00
parent 1cfc35ab4c
commit cb53662552

View File

@ -1071,8 +1071,8 @@ pipe_child (pid_t *pid, int pipefds[2], int tempfd, bool decompress,
implementations/emulations of posix_spawn we get only a
generic (fatal) error from the child in that case. */
resolved_compress_program =
find_in_given_path (compress_program, getenv ("PATH"), NULL, false);
if (resolved_compress_program == NULL)
find_in_given_path (compress_program, getenv ("PATH"), nullptr, false);
if (resolved_compress_program == nullptr)
return errno;
compress_program_to_free = nullptr;
if (resolved_compress_program != compress_program)