mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
makefs: remove unused variable
NetBSD revisions: mkfs.c 1.32 Obtained from: NetBSD
This commit is contained in:
parent
d42aefee43
commit
f7d3963023
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue