From nobody Tue Jun 20 16:29:16 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 4QlsXY0p7cz4gJTQ; Tue, 20 Jun 2023 16:29:17 +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 4QlsXX6ynYz4Kh3; Tue, 20 Jun 2023 16:29:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278557; 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=3ybRLtdxFNicLcYKotn0oznoryWvf2zOEgNLNeG5yno=; b=APvR7Y1v2HCjlCwafe7F/TqmgSq46Mvwp6hLEOoC1XiaQnF3ROCpChcD94X2B1uMePG2q7 yVLS673yiKuXFdZ+ayyQr4gedmtAqaGWz0diWSJti7A6Njb2wE9kVZLR2kKTqL5/NlXOVL M6KsLr6BWy+w+ORZjLfSSsvNJyk79K6zlBFlIfACVODRRPFJu84wZ/3C/za3n2EEj/UO4i ci1BEJ2u+CGIJWlnWc5XodeRjz1hNrrXuaqNtuzMzZU/h1Oz9hdYfTiPdtd3ixljY5/2DG QahnzpDkOXJtn3iWg3ID5YhzkBoTmOOa0GtxSKzWFVQemDgTKNdjnuVeQhGzSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278557; 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=3ybRLtdxFNicLcYKotn0oznoryWvf2zOEgNLNeG5yno=; b=XDW1HLSW4FdqlSx9oxjKlcWBHic3oWkghsoR2XhjyppgCaf4EEY0qsAo+zkDdK2J4qh6az R+ahJtrQgHkyqtTOVOaGzIUh1rPZ+7t6dvaX3nGda5T0Mznu+ywUCMLEAymcNynrMLYcjI OJD2HlFLYDRb0KyFSbZXDr86dyOr/bKNYekWHQC9s6ptCgUxAaNTPYxJ2qzv8546XD3UBy fAiQVuNUYIe3TefUcXsfgtxa8LtRkIyUoa/Sz90l10ctPl3qOBCedSjKcK/cEm2a6XRKkf 2zxhol1hQn7oJyShv3S6JFWE7XtuP2JvWL171cch5h+y1gdAGcPGn8vm9TEoTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687278557; a=rsa-sha256; cv=none; b=Kz13XfIYPGnpdUVtcwMEE47ewfFe/3m7K0QPZwCnn2zZwLAPd6ZoY5whws4A98gJVdAQ+X 1OqIL0hWoXMrEx7ro4/Uuh5ZbSx6XxZkaBeIj9hVsoEi5XXXeAR0649U3GvoX673D7mRW4 /7m+NBr7spHJy7bxSl7WlvjXHBZn/nsjc9G6ces5wFett8Mb/6r13lIYKJWgrTF3JfMBoq eADIQRMSVRAaw7Boh64+lDJxaOX+nWgWaI1VCtCBBui5J/99WrufbBTvUXFjPTi+UWuWKQ c1MYVWlcVL2/lwW+j5uZRvB9cWxn2G8XqWH8VEKUO9V7W0iyY0lgvqlfiKbeNg== 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 4QlsXX62zTz15sX; Tue, 20 Jun 2023 16:29:16 +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 35KGTGqF045058; Tue, 20 Jun 2023 16:29:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35KGTGKY045057; Tue, 20 Jun 2023 16:29:16 GMT (envelope-from git) Date: Tue, 20 Jun 2023 16:29:16 GMT Message-Id: <202306201629.35KGTGKY045057@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: 035dd78d30ba - main - libvgl: Remove set but unused andmask variable from VGLMouseInit. 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: 035dd78d30ba28a3dc15c05ec85ad10127165677 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=035dd78d30ba28a3dc15c05ec85ad10127165677 commit 035dd78d30ba28a3dc15c05ec85ad10127165677 Author: John Baldwin AuthorDate: 2023-06-20 16:28:59 +0000 Commit: John Baldwin CommitDate: 2023-06-20 16:28:59 +0000 libvgl: Remove set but unused andmask variable from VGLMouseInit. Reported by: GCC --- lib/libvgl/mouse.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/libvgl/mouse.c b/lib/libvgl/mouse.c index 010a1b7b9c52..fc7ba2399387 100644 --- a/lib/libvgl/mouse.c +++ b/lib/libvgl/mouse.c @@ -284,22 +284,19 @@ VGLMouseInit(int mode) { struct mouse_info mouseinfo; VGLBitmap *ormask; - int andmask, border, error, i, interior; + int border, error, i, interior; switch (VGLModeInfo.vi_mem_model) { case V_INFO_MM_PACKED: case V_INFO_MM_PLANAR: - andmask = 0x0f; border = 0x0f; interior = 0x04; break; case V_INFO_MM_VGAX: - andmask = 0x3f; border = 0x3f; interior = 0x24; break; default: - andmask = 0xff; border = BORDER; interior = INTERIOR; break;