aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-03-09 15:46:49 -0800
committerRob Landley <rob@landley.net>2019-03-10 19:40:36 -0500
commitac9eea4afb88ca0785c1ea4c665b1744afc3009a (patch)
tree14fdcb53200c0f81feb13e0126f16af4930d3bc0
parent8b42e1ffd68adc8d000b3c2dfc1baccd926cbf01 (diff)
downloadtoybox-ac9eea4afb88ca0785c1ea4c665b1744afc3009a.tar.gz
find: minor whitespace cleanup.
-rw-r--r--toys/posix/find.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/toys/posix/find.c b/toys/posix/find.c
index fdeb2048..1c35155b 100644
--- a/toys/posix/find.c
+++ b/toys/posix/find.c
@@ -396,13 +396,11 @@ static int do_find(struct dirtree *new)
if (copy != ss[1]) free(copy);
}
} else if (!strcmp(s, "size")) {
- if (check)
- test = compare_numsign(new->st.st_size, 512, ss[1]);
+ if (check) test = compare_numsign(new->st.st_size, 512, ss[1]);
} else if (!strcmp(s, "links")) {
if (check) test = compare_numsign(new->st.st_nlink, 0, ss[1]);
} else if (!strcmp(s, "inum")) {
- if (check)
- test = compare_numsign(new->st.st_ino, 0, ss[1]);
+ if (check) test = compare_numsign(new->st.st_ino, 0, ss[1]);
} else if (!strcmp(s, "mindepth") || !strcmp(s, "maxdepth")) {
if (check) {
struct dirtree *dt = new;