From nobody Mon Apr 17 12:22:56 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q0R5t2CxQz45qDZ; Mon, 17 Apr 2023 12:22:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q0R5r1ggHz3Cwy; Mon, 17 Apr 2023 12:22:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681734176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yecgwMYUBnAaTKhgM/9jIqnYr76EGprjNBQrqFwXH7Q=; b=tAFdNKA3cupyOgstGhUNE5kundVP7agqChY0b5yg28L1NKbVz2cJP4s4R+3TKMqjxPq6Ve sDKHt0gecOel6UpNzCpPy2Gez6KT2wbLl60tEkuc/zxqiTg2A371B5OENQn1FnqLGOkDNz L0H4bc+W3/xYIt+48fcOCtDBQQOVSOu6Adk4rP5aJe2jHA+wuoBp+HpJ6FuAe0ZGt5JBL+ 3841UPTLe04MuJLgs6DXbjU+I+jmYhtO8UrTdc4Ig2PgTaEt44mdJ7esqLON387qOdYtnA ER6LosfniEVfYzMhDpa23Tjg3najZ383lUvQFWZqTIJO71k0goF00lsvJhuq0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681734176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yecgwMYUBnAaTKhgM/9jIqnYr76EGprjNBQrqFwXH7Q=; b=HeOdpA6dQCFJGO9rhkpgweZJ46WVXGoANVCXC+nQ2VlPNoKTaIKmLgWNSP5smMsa30XCDJ BAlrbQrDZ7hyt+IY/Tekthp6taOpBrzeBfzJth2Ijaa22C3sHWEmlSxalstCFX2dg9zWvc W4IITMw8/rmDICeiZLviAoPrPdjs3rVREmVupumP/f1Bhhs8RHVZk3kFLCZonFJarBvMUN 5h4cudVzTHJGTT1ImQvNAdH7Lk9I6rDl2ia8qyUMAgVyHSgyC5nAPT6ecsfomlr9KOFiDl iLVUZ0uFMgqH966Yfq0N6uzOSkSYY14Mg2bgcosukpOX0cLXzoJg3fBbx0AoKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681734176; a=rsa-sha256; cv=none; b=j2/wZ/NQeHIGKT63XUKNaDB1yWVmG+7OfUOh5lJjBnrtTScsRDv6vzNk7BVJ+0B/Qi7jtZ bRd4RO06pgT7E2RaD87E874OGz9ivKuAZL6z30ZHSDgE0hNCs6ooOhdKDJtFbzzC8iwzg9 kn8nZMBWBmtoIAznNjtqocxiJspvVDp/AK5Tm5wxX+DFwwFvRJTs84+UrSrvizWhKXJekw Ei+dc7mYmU0/zimMaZTBXKubZOEINFPcRrOh7Eo3sSITu0cT2fMf14IgKJR1RR0YfTuCzs GXeY4LTNKlR89M56UBPUb2dV/1j2IkJScDCFVbElrYqsxiSa+6Vdn0+FvwTLFg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q0R5r0n69zThx; Mon, 17 Apr 2023 12:22:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33HCMuPj039761; Mon, 17 Apr 2023 12:22:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33HCMuIY039760; Mon, 17 Apr 2023 12:22:56 GMT (envelope-from git) Date: Mon, 17 Apr 2023 12:22:56 GMT Message-Id: <202304171222.33HCMuIY039760@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 79ead0849707 - main - makefs: remove unused variable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 79ead0849707396cb2de0bab7e354fb099ea344e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=79ead0849707396cb2de0bab7e354fb099ea344e commit 79ead0849707396cb2de0bab7e354fb099ea344e Author: Ed Maste AuthorDate: 2023-04-17 12:12:27 +0000 Commit: Ed Maste CommitDate: 2023-04-17 12:22:12 +0000 makefs: remove unused variable Reported by: Clang Sponsored by: The FreeBSD Foundation --- usr.sbin/makefs/cd9660/cd9660_write.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr.sbin/makefs/cd9660/cd9660_write.c b/usr.sbin/makefs/cd9660/cd9660_write.c index 6716c2f98704..95038320a059 100644 --- a/usr.sbin/makefs/cd9660/cd9660_write.c +++ b/usr.sbin/makefs/cd9660/cd9660_write.c @@ -429,7 +429,6 @@ cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector, { FILE *rf; int bytes_read; - off_t sector = start_sector; int buf_size = diskStructure->sectorSize; char *buf; @@ -462,7 +461,6 @@ cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector, (void)fclose(rf); return 0; } - sector++; } fclose(rf);