Looks a bit strange to me.
-- 8< --
* src/df.c (filter_mount_list): Adjust comment.
* src/sync.c (sync_arg): Don't use == on bools.
* src/pr.c (init_parameters): Likewise.
---
src/df.c | 2 +-
src/pr.c | 2 +-
src/sync.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/df.c b/src/df.c
index d579553bb..2135a05b4 100644
--- a/src/df.c
+++ b/src/df.c
@@ -697,7 +697,7 @@ devlist_for_dev (dev_t dev)
In the case of duplicates - based on the device number - the mount entry
with a '/' in its me_devname (i.e., not pseudo name like tmpfs) wins.
If both have a real devname (e.g. bind mounts), then that with the shorter
- me_mountdir wins. With DEVICES_ONLY == true (set with df -a), only update
+ me_mountdir wins. If DEVICES_ONLY is true (set with df -a), only update
the global devlist_table, rather than filtering the global mount_list. */
static void
diff --git a/src/pr.c b/src/pr.c
index 17c43b170..34f159e94 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -1213,7 +1213,7 @@ init_parameters (int number_of_files)
extremities = false;
keep_FF = true;
}
- if (extremities == false)
+ if (! extremities)
lines_per_body = lines_per_page;
if (double_space)
diff --git a/src/sync.c b/src/sync.c
index 7c518b5fa..645afd4cd 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -125,7 +125,7 @@ sync_arg (enum sync_mode mode, char const *file)
ret = false;
}
- if (ret == true)
+ if (ret)
{
int sync_status = -1;
--
2.52.0