From 7c9ea1b0af5964792c0f6b6632c43ddd9b3f8c1c Mon Sep 17 00:00:00 2001 From: fcambus Date: Mon, 10 Apr 2017 08:19:12 +0000 Subject: [PATCH] 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(-) 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) { -- 2.20.1