From nobody Wed Apr 13 23:09:21 2022 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 3D4CA1B4043B; Wed, 13 Apr 2022 23:09:23 +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 4Kdyw23yJ8z4ltK; Wed, 13 Apr 2022 23:09:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891362; 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=njf6Kqks8dobIEMSTfyib35yKY1Cj17QV3QEG0OXeFk=; b=MVBR3XwXhmyyGi31nr7NEa0WL7xWzBGodHJb4fIDuQrww/hTl0rmxVQe6VePipJLl/GSHs 2Q/cfsmvstHSvm3bkPC9YiNIDwp+oaTW0Uyt2nMA/w8hUS7x3FfGYx2cvHY9Qw03/6XDMJ 4RLQ0ZdUy/m1fgMW/vraOkV/5jULjIzmarUXaeIwljKMdrPd6mli1xWYARGAyRSOzxm4pr CghmWQ/hXv2+fNw4DS4BrtFQ8UwT12IQ5sVk9wh+rdG4qsISTg2G05Z6lRNMW20iTvZ1Wv 9b5N91R/sMQz4uP8S7cG1Eh0S1e11joQoVILIoqfHVdFeBrl3vaVkDzDuU/2hA== 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 187E415383; Wed, 13 Apr 2022 23:09: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 23DN9LjF074287; Wed, 13 Apr 2022 23:09:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DN9LeD074286; Wed, 13 Apr 2022 23:09:21 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:09:21 GMT Message-Id: <202204132309.23DN9LeD074286@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: ba035a31128b - main - pf: Use __diagused for variables only used in KASSERT(). 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba035a31128bd321cb9425bef9f5a9c3ff07859a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891362; 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=njf6Kqks8dobIEMSTfyib35yKY1Cj17QV3QEG0OXeFk=; b=gmDY+kDkXRVOF0njlzhnPrLudJn8H1QIY6nJ3CRLQ9OAlN1EQt05AJwJ9CcitkipoBJ1Wp +501iHvcNXFjTwsLA3R6EOdQhVbB+oO6+lisz/fp/eYUHv0pA+z4wjbDHANcqBPCTsOluv pXQXAIlAFSqS3Oy2l2UzYdJXeqaCgx8s0iNac+jhAs/pa335/tkgqxpwB2UjJXpdYeCUyM EBK593UMJscltRbfBovdW8B1qh1V1NydkX2HOdjbGu8QllcxbzMJXLOrAa8a0FycjM3B4P EVBvcU0b+mjvmCTPMaTMUlHwuCm+/ifHZrEffw+MgF44l1IK6s1V44mgf6gCzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891362; a=rsa-sha256; cv=none; b=l3mFjqXI7bx0w/iieafvTDfv7927KdsBgaF+c6pAtFZaY7i6CIQOJRp1godylxbU2qs9KW GacP5auKuTzCU9pB5yfm0N2SqWy7ZK+UY0BCGJNvmuhorZcX60vF47zgi+OtiwNjeAwoHO xmN7ZomvlnEEvuEmuRpQL9SCKIFJzPpY2zPRazUbJMpxD6QocWTAPBeZ+yD6DCi6UZhjwp /ic/X4osQZSj5JBU1AvzG4yw+w1ersBRNSGZaEMrHmQo+hlUxu/ng5OKJ/ZHu21aEFK09H 3G1FTuQSRNp2Iv00Vw+qP6RQCHRWN/ppxzNmtTtOyX5kLil+pFJK8tgC75+CVg== 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=ba035a31128bd321cb9425bef9f5a9c3ff07859a commit ba035a31128bd321cb9425bef9f5a9c3ff07859a Author: John Baldwin AuthorDate: 2022-04-13 23:08:20 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:20 +0000 pf: Use __diagused for variables only used in KASSERT(). --- sys/netpfil/pf/pf_ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c index 52f11f57c068..49fdb6046098 100644 --- a/sys/netpfil/pf/pf_ioctl.c +++ b/sys/netpfil/pf/pf_ioctl.c @@ -6464,7 +6464,7 @@ hook_pf(void) { struct pfil_hook_args pha; struct pfil_link_args pla; - int ret; + int ret __diagused; if (V_pf_pfil_hooked) return; @@ -6600,7 +6600,7 @@ pf_load(void) static void pf_unload_vnet(void) { - int ret; + int ret __diagused; V_pf_vnet_active = 0; V_pf_status.running = 0;