Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:08:19 -0000
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r346599 - head/sys/netinet/netdump
Message-ID:  <201904231705.x3NH5wdK094398@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Tue Apr 23 17:05:57 2019
New Revision: 346599
URL: https://svnweb.freebsd.org/changeset/base/346599

Log:
  netdump: Fix !COMPAT_FREEBSD11 unused variable warning
  
  Reported by:	Ralf Wenk <iz-rpi03_hs-karlsruhe.de>
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/netinet/netdump/netdump_client.c

Modified: head/sys/netinet/netdump/netdump_client.c
==============================================================================
--- head/sys/netinet/netdump/netdump_client.c	Tue Apr 23 15:11:01 2019	(r346598)
+++ head/sys/netinet/netdump/netdump_client.c	Tue Apr 23 17:05:57 2019	(r346599)
@@ -1140,7 +1140,9 @@ netdump_ioctl(struct cdev *dev __unused, u_long cmd, c
 	struct netdump_conf *conf;
 	uint8_t *encryptedkey;
 	int error;
+#ifdef COMPAT_FREEBSD11
 	u_int u;
+#endif
 
 	error = 0;
 	switch (cmd) {





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904231705.x3NH5wdK094398>