From nobody Fri Jan 20 13:03:32 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 4Nz06s0tGnz2sTx4; Fri, 20 Jan 2023 13:03:33 +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 4Nz06s0P61z3m64; Fri, 20 Jan 2023 13:03:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674219813; 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=hxzF7eKcQ98BTmk5AvB3chbENOujoYI6IrjCpOgSb/0=; b=DJ/PEzTYGHjPYWS2ALbuPZ60/Hd4gru+rZsO+onFKnt8a2jDHBDor/xMFatCk4wxsb/dmC KyTmWyd5TEOh6vMJrSWnvcSQFL2JifSDMEPxzv9ySPnjkWvbJzt40lM2wmTKDPyQhzqzPz RG+NrnWxjnFg8BgecBYmnND8hULyPvfSVYNZKgbmoNiZeJ8Ci1Ob6EKHJubX1tyI3CB3MK RXC04KGNT2jQxCXTVBKVWTiwWRwHvqP9l67IrTFQISHQhg/w86ArEO4jdYPiO/lM/VriPh BqkeVoZczwVcGAbNKGgPEfttrWjfGEH1VtO1FlKz40lwkVQfj7fwYWqY0+I+hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674219813; 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=hxzF7eKcQ98BTmk5AvB3chbENOujoYI6IrjCpOgSb/0=; b=Sh8N2bAnkvvpDXBtsJW/68iUkb6H8+WHtrbU4lo2SNQBKOYlt6yh/4u9KqMhRIHHmGIQ3H h3wHtEXPvhjIg6RaCGnt7YpfbVP4nBOHDyKJrIds2RaobDFGPt8x8GuKDBA0tboRyZH5AF X7UlSWEF2bypYYTCcBLU4grDI8B6deqVLGX7Vw6bXZtoSDTNrUvjcPikW1Pi8oKDFDSejM 8NgFsiPxpjppUYdqzMGiJCS2rntCOa0VRHiDc+5HYFXydrcjN59AUrr+oOJj+cGCThheK3 BDSyXQWlyfhT8uNQKIRdFZmBIsRzyenuOVi6Z4RylN0oM6d+EG/0beqHG+37gQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674219813; a=rsa-sha256; cv=none; b=l7sJKdvPqqzakjD+iPWeSWnME3/vS54+wlo+uwzv/+7wUsYtGBiked0UzJAxUSMaGYxGcD OF7ThGIWmVnJISfAPm2zF+Hxx4rK2X/OPXx8N9L2dem3t5wyQ3OX1+QGOeTMtS/gpzwqQ2 gSITHn+2YM/x4Kmg6rd8DULtf2dCv2kvgBX4YWvIBP3r4TP/HfjaPbJhnIE6u7XrNMjOPb zdse8sVMCCDuSvR0/w9RZVHZ9e8CWt3tYjfjqditXv31vusk/BmSkZcROo5mrBe29no5eT rtyLRmTjrlLxJGzisYL1gtETs56w6oZ6wI2y4XYUSY7o9m/GbOfQXkmOHHET4g== 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 4Nz06r6YDyzWlx; Fri, 20 Jan 2023 13:03:32 +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 30KD3WA9070639; Fri, 20 Jan 2023 13:03:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30KD3WKr070638; Fri, 20 Jan 2023 13:03:32 GMT (envelope-from git) Date: Fri, 20 Jan 2023 13:03:32 GMT Message-Id: <202301201303.30KD3WKr070638@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: c48e46d52876 - stable/13 - tests/sys/posixshm/posixshm_test.c: Fix build for real 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: c48e46d5287688950f6e787e783ce4f51db7d39d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c48e46d5287688950f6e787e783ce4f51db7d39d commit c48e46d5287688950f6e787e783ce4f51db7d39d Author: Konstantin Belousov AuthorDate: 2023-01-20 13:02:12 +0000 Commit: Konstantin Belousov CommitDate: 2023-01-20 13:03:10 +0000 tests/sys/posixshm/posixshm_test.c: Fix build for real Remove unused variables. This is a direct commit to stable/13. --- tests/sys/posixshm/posixshm_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/sys/posixshm/posixshm_test.c b/tests/sys/posixshm/posixshm_test.c index 9d5832999b9d..f0784f7b8769 100644 --- a/tests/sys/posixshm/posixshm_test.c +++ b/tests/sys/posixshm/posixshm_test.c @@ -992,9 +992,8 @@ ATF_TC_BODY(fallocate, tc) ATF_TC_WITHOUT_HEAD(accounting); ATF_TC_BODY(accounting, tc) { - struct spacectl_range range; struct stat st; - off_t shm_sz, len; + off_t shm_sz; size_t page_size; int fd, error;