From 26fc5a626ea651d8b75b78eab223b2ec3ab90621 Mon Sep 17 00:00:00 2001 From: Frederic Cambus Date: Mon, 10 Apr 2017 08:19:13 +0000 Subject: Remove always false comparison: inosused type is ino_t, which is unsigned. While there, fix a whitespace issue. OK deraadt@ --- sbin/fsck_ffs/pass1.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sbin') diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c index bc3ef891335..02bb8ad32a5 100644 --- a/sbin/fsck_ffs/pass1.c +++ b/sbin/fsck_ffs/pass1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass1.c,v 1.43 2015/08/22 06:00:27 deraadt Exp $ */ +/* $OpenBSD: pass1.c,v 1.44 2017/04/10 08:19:12 fcambus Exp $ */ /* $NetBSD: pass1.c,v 1.16 1996/09/27 22:45:15 christos Exp $ */ /* @@ -126,11 +126,9 @@ pass1(void) } break; } - if (inosused < 0) - inosused = 0; } /* - * Allocate inoinfo structures for the allocated inodes. + * Allocate inoinfo structures for the allocated inodes. */ inostathead[c].il_numalloced = inosused; if (inosused == 0) { -- cgit v1.2.3