From nobody Fri Apr 21 21:20:22 2023 X-Original-To: dev-commits-src-all@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 4Q36r82n16z46vh7; Fri, 21 Apr 2023 21:20:24 +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 4Q36r65HWrz3Jmq; Fri, 21 Apr 2023 21:20:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682112022; 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=FSwcFK2dvdS7Mta0MZ831S5cWoEhcSKP54qx2VpZS0c=; b=aC9xc6oVbYBs8WaQzlmBpZrUtgWHd0Rbf/o8yfCnvB7c3DEFHIRbAhEgQKVrEFEl/3Jaef SvztAX9jIugKgKy568zZd2LpEkx9SMK4/wfv+etGbgUmp8Yt8uwa4mhawZZrgjIGqY640u 4yn138ugjTQcdMWusHBRcuXKVVnI/tUA5JyIPCFs8lWZq/PWuNFFDwub1bpG6DbEMiVzuR fBtndf6udFxdqsUcA0A2vXwU5MKQWiUmCDdBoK0J3sU3uIhU80poxAmlu2Mz1/XXQ/W8Vh vCcjmVwYjkUuEflQykGfe2u5dx23NJZoMwKhHObFrKBCR2YH1PFyy0cp6yecow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682112022; 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=FSwcFK2dvdS7Mta0MZ831S5cWoEhcSKP54qx2VpZS0c=; b=F68Y0rWG13WbLrqaAhOKmgBZeJrbEMj2AixmpvGf5ZARfINTn5FNXm20G0AK+aO4ecix8b NdtLdgJmF4nOhWACwn15j/F38fYPyfKJ7fHVmjoYnkkU/s9ZJr4HsYm80DNeRP+i3iqa7R QqycvmTRDGoHqHZPCCeqJXPTCc2hkXt7To5oRtlglNOAhDPPMLhTTTH/uAmXqqdJdJ1Qnp QBdou4EkJe6mWIb5aJ3wuE0G+qUAN/H6T/P8f6wG+SgefqhcGmQ783Fs5W2qoSsW36WyVT ANAaPkLQa0SkAhs8t94NoHGul2CJn3HQ8Hp6mQwQjezmjjk0J92D8kkgus+F+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682112022; a=rsa-sha256; cv=none; b=XVzR+qCzY0sXx5+Uf2cvEit7gDgGHfKEZ7EzYXo2WSviryj+w0IZefU7NvfkisSt43N09y XBsa5+AyZg5MabZEEnAsz3MX2zGsZgje0v6DbmzXZnVowoRmLf6iLWRmNzY0bHHTLnufcE CaTERTvwJEHLnN4FcY2IKdP511MMawwrLpZHrdYU3nQiBmtd5CchO6MjMqBjtKfuBOfZkU cfQiGTXv3DJFQCdITl9833a+IvHYam8/7/LX6h9V605Hq/dA3E+4A5JFIFalPUaXwkTOR7 4MRTKTJlAdUMgzOiRh0c4dAnVEtIuC+rtIb3O0xbSEYq7u9zvGlSg5qryR+0gQ== 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 4Q36r64PSszbTl; Fri, 21 Apr 2023 21:20:22 +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 33LLKMZQ020929; Fri, 21 Apr 2023 21:20:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33LLKMe7020928; Fri, 21 Apr 2023 21:20:22 GMT (envelope-from git) Date: Fri, 21 Apr 2023 21:20:22 GMT Message-Id: <202304212120.33LLKMe7020928@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 6dda38e5ca07 - stable/13 - makefs: remove unused variable List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 6dda38e5ca071c30d8aa6322988569b5473d95a8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=6dda38e5ca071c30d8aa6322988569b5473d95a8 commit 6dda38e5ca071c30d8aa6322988569b5473d95a8 Author: Ed Maste AuthorDate: 2023-04-17 12:12:27 +0000 Commit: Ed Maste CommitDate: 2023-04-21 21:19:48 +0000 makefs: remove unused variable Reported by: Clang Sponsored by: The FreeBSD Foundation (cherry picked from commit 79ead0849707396cb2de0bab7e354fb099ea344e) --- 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);