From 5b812e7721d068e677a534353e7ab3b3c1f06dc4 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 7 Jul 1995 02:14:07 +0000 Subject: (pass1): Remove assignment from if test. --- ufs-fsck/pass1.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ufs-fsck') diff --git a/ufs-fsck/pass1.c b/ufs-fsck/pass1.c index 621d40ec..c97ffc33 100644 --- a/ufs-fsck/pass1.c +++ b/ufs-fsck/pass1.c @@ -1,5 +1,5 @@ /* Pass one of GNU fsck -- count blocks and verify inodes - Copyright (C) 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 1995 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -63,7 +63,8 @@ pass1 () int wasbad = 0; /* Check to see if this block is in range */ - if (outofrange = check_range (bno, nfrags)) + outofrange = check_range (bno, nfrags); + if (outofrange) { blkerror = 1; wasbad = 1; -- cgit v1.2.3