Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2017 16:40:18 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315271 - head/usr.sbin/makefs/ffs
Message-ID:  <201703141640.v2EGeIG6035215@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Mar 14 16:40:18 2017
New Revision: 315271
URL: https://svnweb.freebsd.org/changeset/base/315271

Log:
  makefs: remove unused variable
  
  NetBSD revisions:
  mkfs.c 1.32
  
  Obtained from:	NetBSD

Modified:
  head/usr.sbin/makefs/ffs/mkfs.c

Modified: head/usr.sbin/makefs/ffs/mkfs.c
==============================================================================
--- head/usr.sbin/makefs/ffs/mkfs.c	Tue Mar 14 16:06:57 2017	(r315270)
+++ head/usr.sbin/makefs/ffs/mkfs.c	Tue Mar 14 16:40:18 2017	(r315271)
@@ -119,7 +119,7 @@ ffs_mkfs(const char *fsys, const fsinfo_
 	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_
 	 * 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703141640.v2EGeIG6035215>