From owner-svn-src-head@freebsd.org Tue Mar 14 16:40:19 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2AF1D0C5ED; Tue, 14 Mar 2017 16:40:19 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFA12645; Tue, 14 Mar 2017 16:40:19 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2EGeIAY035216; Tue, 14 Mar 2017 16:40:18 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2EGeIG6035215; Tue, 14 Mar 2017 16:40:18 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201703141640.v2EGeIG6035215@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Tue, 14 Mar 2017 16:40:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315271 - head/usr.sbin/makefs/ffs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2017 16:40:20 -0000 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)