From nobody Tue Jun 20 16:29:22 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 4QlsXf5Pc8z4gJYq; Tue, 20 Jun 2023 16:29:22 +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 4QlsXf4627z4L1B; Tue, 20 Jun 2023 16:29:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278562; 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=EFx5u49smH9SbgCaiDl1pfdQjkswFuYajjyguXkNSwk=; b=XFInzhfgLNcTEBzSsoosOUTdZZ0s/jW2P0N85wm3weFdm0FWbkqSeOPWmQfTnKwZ4G6wD7 M77K348XuZ/c0ucTNTZFVSzvuKYemH3bdrk2mH7ckcxRBWthEnXI/WorRSNXM49fHwNfrS 8QFn3O0W23rZynmDaywvnipZgODbYdWRnETniM40+4Tvkf6OQm05I9nupVom5ekWup0zTH ufHB3FtOAr3p+jS0mZVZ+TCy4bbF/uCTzUmWtmT5LXMjh71qaE1zxuw8kFGaG+i895925p 1c72ilIMX0S5R91iIHxUvdzorxV3346wGC8SJm6FY+3djEXO6xWJnzrNM9ZDXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278562; 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=EFx5u49smH9SbgCaiDl1pfdQjkswFuYajjyguXkNSwk=; b=UVJwCpq4qHdBMmTxUBEF7YBSWVjHJxROHGp9VZsQjxNH4uhAAeL8GgpdJkibWmZol2ktXq q5z2rrotoQ2mi7mPCJeK5TBLHI8kqSUpFkc+ltXdluw5khS93faM9LvYyTtFCiW31dvoEx BdYaI9k5NK8hwgvCGOLHl+i35PpCWUzkPW1K4bfFSG1XRC208uXcn7S0RSMzDyK93BTn3s nLkiMwxJz4oPYYCH94sjy4KWDMrx2QmV8n+bCAzOMppbKKHjMHaB0IKcaseh/QdmmMRdvm k8i0QtLeZ2C0Pv3Nt7AHpe6zLCF/qB6TZSG3yUbJ+rcNv5hUyU7jeThbcktMxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687278562; a=rsa-sha256; cv=none; b=O0VpJxx05ug8gXDlo0rmIGlTPsjEqzDYobHN1bh8qO7cEWE0hJ4hzgvnm2WJhz6DFiVA2b vNKZFGJk7uiVsiUdoONvDjhUyjUd9rgBvl+kXyg3v5jrTWZgPIxEArSIMTIuo0UX7bLkBS Ww5CgM26HXN2MhUbUVjnHB0NRFJ2w57OAiMnMvcAII6++psm6EycEn0YPAMS6/ENpDeQgA LE/bPcfYV6pfkmWbyxKOtD6e6/aKWTYgP6/3Jql9aN4Rh/pBaMddQIowJ5JuAno/cBNZ5Z CVOkENjYGZfZ1cJNg4wPzc6NHg7aRhd2L3WCpreEnC2ZY8j75VDZcLVcL1qHmA== 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 4QlsXf39sQz15n1; Tue, 20 Jun 2023 16:29: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 35KGTMBr045161; Tue, 20 Jun 2023 16:29:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35KGTMoJ045160; Tue, 20 Jun 2023 16:29:22 GMT (envelope-from git) Date: Tue, 20 Jun 2023 16:29:22 GMT Message-Id: <202306201629.35KGTMoJ045160@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 98f7dec5084e - main - mptable: Remove set but 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 98f7dec5084e832648c0ff8a93820f644b01a73a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=98f7dec5084e832648c0ff8a93820f644b01a73a commit 98f7dec5084e832648c0ff8a93820f644b01a73a Author: John Baldwin AuthorDate: 2023-06-20 16:28:59 +0000 Commit: John Baldwin CommitDate: 2023-06-20 16:28:59 +0000 mptable: Remove set but unused variable. Reported by: GCC --- usr.sbin/mptable/mptable.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/usr.sbin/mptable/mptable.c b/usr.sbin/mptable/mptable.c index f6d0630fb5d2..79bee8e1edd8 100644 --- a/usr.sbin/mptable/mptable.c +++ b/usr.sbin/mptable/mptable.c @@ -530,7 +530,6 @@ MPConfigTableHeader( u_int32_t pap ) { mpcth_t cth; int x; - int totalSize; int c; int oldtype, entrytype; u_int8_t *entry; @@ -574,8 +573,6 @@ MPConfigTableHeader( u_int32_t pap ) printf( " extended table length:\t%d\n", cth->extended_table_length ); printf( " extended table checksum:\t%d\n", cth->extended_table_checksum ); - totalSize = cth->base_table_length - sizeof( struct MPCTH ); - puts( SEP_LINE ); printf( "MP Config Base Table Entries:\n\n" );