From nobody Wed Apr 13 23:09:11 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 8C5041B3FF92; Wed, 13 Apr 2022 23:09:12 +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 4Kdyvr2Dwbz4lNL; Wed, 13 Apr 2022 23:09:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891352; 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=EYkWQprNpQ36AAfC2k7Yj0UDLf1MIjCkM5tbGSXgKP4=; b=HPIwB1M4PCO6s2PuUsUx2nWxEEMZ9xpMUhyGoD2m7qNZD5NX6lTWulyga4f8dtfbOM7dFW Oy0fliXONr8DRlCRN4KbfKkMc56HxmWflWCm3tI0A4ZiQ0YybvJfTtcl85qXzuA5R2crRw +mYUl8hHuShh/B78xxEm/1egZ7UARDRH/XjaT1GMW5lySd4m1NDEY3XsWy3Doyu3Ee6nOl Nc75/fEpnfSdcc8uczvtFneCu++laFV7FCl3lfpY9CqXhhFJ3X8ygSFyIjWKVgHtHo7V84 gEFm5gjO00ZUhaZgAGBcCejWahnKwjmhBKf8sYm/4YtKvqMyrpmw6bQ6Wd7YCA== 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 CE3DE14F7A; Wed, 13 Apr 2022 23:09:11 +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 23DN9BeC074061; Wed, 13 Apr 2022 23:09:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DN9B6r074060; Wed, 13 Apr 2022 23:09:11 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:09:11 GMT Message-Id: <202204132309.23DN9B6r074060@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: 732b6d4d506d - main - netinet: Use __diagused for variables only used in KASSERT(). 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: 732b6d4d506d231926914be2cd57b640e5a8ae3d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891352; 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=EYkWQprNpQ36AAfC2k7Yj0UDLf1MIjCkM5tbGSXgKP4=; b=Hc4b12q1uTEGVt1fq7JWrrhe242CVYOmEueiA5SgfEizGgN8UWdk0VdZYnD4thaoSHkui1 pel/+rIzEfHwnBmRc82YYxIdK+uog974LLYe48F47yBZavyHdJAPmYBvbbLOGP+t9Uiiwm InuY5MMxAYvHoONQd9Uh8D5wp4GaCi13crpYxHYptxRefFzQVTPKPwo7LzvX4ydEJfUyZU G6BQBnUs/HL5dESIyDUrqJfoEs6xdrHkmfVUGFysaV3UtRJqtV2Eo5AmqvMrBi1Mm3xWMY nxm09IqGsl6s25BfXVXzqLAJOY7AnrKxtnqpQNM4b+VBFvFbdL+khBEwGf+daw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891352; a=rsa-sha256; cv=none; b=HQtzMPzj6Hztdz2OHflnEuB6SKSxy1TmehqhVO/NN7QQ9w5R2KmStzkOoAfEEsY32+sC84 5B3eiXxtPK4lAzRRbgFSv4juYgTyWijd0GefHupKreRdHDjp7qf/RSeKe+LyXF8xnTTLSq OXtT0YyJtO9tb9n4umzBT+ekxnE+lGR+FgH7j+37gLHkmE8rTkA/nBbgkOUcMCyfftul6N V2oUOJFiKTCDkEWqedomc9nEezjB1on9n/veJYbUaJ9wyIG4jF+qKPVUPtfsVRzlbF+FM9 cetDXbZ8vTwPk8CmBH1rZjYIgcdbi2TU6wcqNjrmyPxzHojluTCR3GVZAA+H3A== 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=732b6d4d506d231926914be2cd57b640e5a8ae3d commit 732b6d4d506d231926914be2cd57b640e5a8ae3d Author: John Baldwin AuthorDate: 2022-04-13 23:08:19 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:19 +0000 netinet: Use __diagused for variables only used in KASSERT(). --- sys/netinet/tcp_log_buf.c | 2 +- sys/netinet/tcp_output.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c index 0e0b6a35013b..a0a0a97d5fae 100644 --- a/sys/netinet/tcp_log_buf.c +++ b/sys/netinet/tcp_log_buf.c @@ -1495,7 +1495,7 @@ static void tcp_log_purge_tp_logbuf(struct tcpcb *tp) { struct tcp_log_mem *log_entry; - struct inpcb *inp; + struct inpcb *inp __diagused; inp = tp->t_inpcb; INP_WLOCK_ASSERT(inp); diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 83ce5b061f09..299f1d034717 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1956,7 +1956,7 @@ tcp_m_copym(struct mbuf *m, int32_t off0, int32_t *plen, { #ifdef KERN_TLS struct ktls_session *tls, *ntls; - struct mbuf *start; + struct mbuf *start __diagused; #endif struct mbuf *n, **np; struct mbuf *top;