Conditionalize declaration of local variable ``i'', now that the

code which uses it is also conditionalized.
This commit is contained in:
he 2003-04-02 19:47:25 +00:00
parent 28ce846dd4
commit 97b6d5bf4f
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ufs.c,v 1.33 2003/04/02 10:39:34 fvdl Exp $ */ /* $NetBSD: ufs.c,v 1.34 2003/04/02 19:47:25 he Exp $ */
/*- /*-
* Copyright (c) 1993 * Copyright (c) 1993
@ -833,7 +833,9 @@ static void
ffs_oldfscompat(fs) ffs_oldfscompat(fs)
struct fs *fs; struct fs *fs;
{ {
#ifdef COMPAT_UFS
int i; int i;
#endif
if (fs->fs_magic == FS_UFS1_MAGIC && fs->fs_size != fs->fs_old_size) { if (fs->fs_magic == FS_UFS1_MAGIC && fs->fs_size != fs->fs_old_size) {
fs->fs_maxbsize = fs->fs_bsize; fs->fs_maxbsize = fs->fs_bsize;