makefs: remove unused variable

NetBSD revisions:
mkfs.c 1.32

Obtained from:	NetBSD
This commit is contained in:
Ed Maste 2017-03-14 16:40:18 +00:00
parent d42aefee43
commit f7d3963023
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315271

View File

@ -119,7 +119,7 @@ ffs_mkfs(const char *fsys, const fsinfo_t *fsopts, time_t tstamp)
int32_t cylno, i, csfrags;
long long sizepb;
void *space;
int size, blks;
int size;
int nprintcols, printcolwidth;
ffs_opt_t *ffs_opts = fsopts->fs_specific;
@ -400,7 +400,6 @@ ffs_mkfs(const char *fsys, const fsinfo_t *fsopts, time_t tstamp)
* Cribbed from ffs_mountfs().
*/
size = sblock.fs_cssize;
blks = howmany(size, sblock.fs_fsize);
if (sblock.fs_contigsumsize > 0)
size += sblock.fs_ncg * sizeof(int32_t);
if ((space = (char *)calloc(1, size)) == NULL)