diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-12-17 19:33:44 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-12-17 19:33:44 +0000 |
commit | 5cb6703e2984ef4ad9d57bf0470aa9570800b5d9 (patch) | |
tree | f7a16b8bf5b54f4a3d839b4e48650187fbb80bf1 /sbin/fsck/preen.c | |
parent | 4d99ef8d555c993e639a504ba7602a8231d7fae8 (diff) | |
download | src-5cb6703e2984ef4ad9d57bf0470aa9570800b5d9.tar.gz src-5cb6703e2984ef4ad9d57bf0470aa9570800b5d9.zip |
Straighten out a compound if() to improve readability marginally.
Notes
Notes:
svn path=/head/; revision=107987
Diffstat (limited to 'sbin/fsck/preen.c')
-rw-r--r-- | sbin/fsck/preen.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/fsck/preen.c b/sbin/fsck/preen.c index 09403ecddda5..068154c48fa9 100644 --- a/sbin/fsck/preen.c +++ b/sbin/fsck/preen.c @@ -115,7 +115,10 @@ checkfstab(int flags, int (*docheck)(struct fstab *), if (fs->fs_passno > passno && fs->fs_passno < nextpass) nextpass = fs->fs_passno; - if (passno != fs->fs_passno || (*docheck)(fs) == 0) + if (passno != fs->fs_passno) + continue; + + if ((*docheck)(fs) == 0) continue; if (flags & CHECK_DEBUG) |