diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 5efe0e7cfa8c..c7c318433096 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -1317,7 +1317,9 @@ ffs_blkfree(ip, bno, size) ufs_daddr_t blkno; int i, error, cg, blk, frags, bbase; u_int8_t *blksfree; +#ifdef DIAGNOSTIC struct vnode *vp; +#endif fs = ip->i_fs; #ifdef DIAGNOSTIC