Fix warning when compiling with gcc46:

error: variable 'c' set but not used

Approved by:	dim
MFC after:	3 days
This commit is contained in:
Eitan Adler 2012-01-10 02:59:09 +00:00
parent dc70efcef7
commit 08084125ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229913

View File

@ -989,9 +989,7 @@ void
iput(union dinode *ip, ino_t ino)
{
ufs2_daddr_t d;
int c;
c = ino_to_cg(&sblock, ino);
bread(&disk, part_ofs + fsbtodb(&sblock, cgtod(&sblock, 0)), (char *)&acg,
sblock.fs_cgsize);
if (acg.cg_magic != CG_MAGIC) {