From nobody Wed Apr 13 23:09:08 2022 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 960011B3F9FC; Wed, 13 Apr 2022 23:09:08 +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 4Kdyvm3nhTz4lcb; Wed, 13 Apr 2022 23:09:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891348; 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=/tvCBuTqbuNMSKkyWQDzMyjvzp2Q1p2GOzBIambBslY=; b=QBqPYivIV3cAPdX4b4P9apibPumrzRV7wbm/rDEJcgrPEZpL3OkAHMRUkwh2/WOzKl52k/ nv6/ZAdlpxD5DfbsTTBnw+5OdESreddWd++pEdGLpqzd+L1UoaYChun8BeMUG1OcVvj6up ZvjYjvpcjkqQaBxs7s8oqghcQUzCFjhpXhovb7k/7vTneWi5NSNRMnhyEfkHmG1rWALQHI D+234aDH96QSTdbw3BViDG0957IytXKjJrH8PQwJeMG01bNljraCmtexNCyoOk9axZJhx4 Te6scfxba/2VLVEb7RKgyqE2JmM0q46yu8cEkODM0ikcOl9u6gduhOwp/QLXCg== 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 622271525D; Wed, 13 Apr 2022 23:09:08 +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 23DN98WW073982; Wed, 13 Apr 2022 23:09:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DN98fo073981; Wed, 13 Apr 2022 23:09:08 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:09:08 GMT Message-Id: <202204132309.23DN98fo073981@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: 3fbf4ca60b93 - main - libnv: Mark a variable only used in a custom assertion as unused. 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: 3fbf4ca60b933ba3053805682fbcd6f376e9ab8e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891348; 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=/tvCBuTqbuNMSKkyWQDzMyjvzp2Q1p2GOzBIambBslY=; b=FkPVYnd8/kfd5X6O3kgwesbQqt9MSbrzpu/m+FUO44l5boEJ4yDJ/SGAIfym/2eo87sHEi U41LludOIhVeDuADAc71qceuyKUyuO9xmH2gq5sprcT/aVMCRLG9cQ5lwFgPQT9Jmglkmm KDx9JhIaH/WTwP4DELShxY2Y5fVuliPKBWKfKdj9mX8HSg9RJkaNwyR8XS/kNfNMbhF0oQ ub/bwrJTnd+DBwkXIi8+ScbjJ0OaF72C1dZU421/9tBgUSbThdcXL6vct2EyEytiNQk82Y qtoqKOstOK4S2/sOzADcWFOVvOPD16EdMIyZjb+5Y3CntGputexzach8iR/s1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891348; a=rsa-sha256; cv=none; b=IrvvHeYk7C01V5WjoD62aDp9iE/5y1ApacMJG2RLjyLxNOhw8MP7F9tYeXtunzgeSwskVd 5A5RKiaO2DAmnsbr+umVJUlRjCsH1mp5fgSPFIEN3vylIVUzkD6SpgN+s9WvcB1j9kWWUb GEt5hStR5QZwmuQnKttTfn9x2U6vYzCA9+TnbismokCJ/NGu3eC2D2z15kS9EhyZy/0OfK ccaiclmMzjqCYa1oJsoVDIFn6PskHHKfo3tbonG0nEk6oQDMdubfXEVcHqI9llBkW/hM8K Vt9A2tp7WpU6ZCpup9bwFWMIH1nUTa2b5rZEOeJey7GKleEwRPxsKqP0POjr4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3fbf4ca60b933ba3053805682fbcd6f376e9ab8e commit 3fbf4ca60b933ba3053805682fbcd6f376e9ab8e Author: John Baldwin AuthorDate: 2022-04-13 23:08:19 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:19 +0000 libnv: Mark a variable only used in a custom assertion as unused. --- sys/contrib/libnv/bsd_nvpair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/contrib/libnv/bsd_nvpair.c b/sys/contrib/libnv/bsd_nvpair.c index 00eee223fe92..152a2fb70428 100644 --- a/sys/contrib/libnv/bsd_nvpair.c +++ b/sys/contrib/libnv/bsd_nvpair.c @@ -552,7 +552,7 @@ unsigned char * nvpair_pack_string_array(const nvpair_t *nvp, unsigned char *ptr, size_t *leftp) { unsigned int ii; - size_t size, len; + size_t size __unused, len; const char * const *array; NVPAIR_ASSERT(nvp);