git: c681cce925dd - main - net: whack "set but not used" warnings in net/pfil.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Nov 2021 17:21:34 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=c681cce925dd193359f9d25f782e313f1e296ca8
commit c681cce925dd193359f9d25f782e313f1e296ca8
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-11-14 17:19:58 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-11-14 17:19:58 +0000
net: whack "set but not used" warnings in net/pfil.c
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/net/pfil.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/net/pfil.c b/sys/net/pfil.c
index 4968bb8cc4de..85a0f031006b 100644
--- a/sys/net/pfil.c
+++ b/sys/net/pfil.c
@@ -479,7 +479,7 @@ static void
pfil_init(const void *unused __unused)
{
struct make_dev_args args;
- int error;
+ int error __diagused;
make_dev_args_init(&args);
args.mda_flags = MAKEDEV_WAITOK | MAKEDEV_CHECKNAME;