svn commit: r245546 - projects/diffused_head/sys/netinet
Lawrence Stewart
lstewart at FreeBSD.org
Thu Jan 17 08:59:12 UTC 2013
Author: lstewart
Date: Thu Jan 17 08:59:11 2013
New Revision: 245546
URL: http://svnweb.freebsd.org/changeset/base/245546
Log:
def_flowrule_template is unused in some source files which include
ip_diffuse_export.h so mark the variable as __unused to silence compiler
warnings.
Reported by: clang
Modified:
projects/diffused_head/sys/netinet/ip_diffuse_export.h
Modified: projects/diffused_head/sys/netinet/ip_diffuse_export.h
==============================================================================
--- projects/diffused_head/sys/netinet/ip_diffuse_export.h Thu Jan 17 08:55:56 2013 (r245545)
+++ projects/diffused_head/sys/netinet/ip_diffuse_export.h Thu Jan 17 08:59:11 2013 (r245546)
@@ -151,7 +151,7 @@ static struct dip_info_descr dip_info[]
};
/* Default flow rule template. */
-static uint16_t def_flowrule_template[15] = {
+static uint16_t def_flowrule_template[15] __unused = {
DIP_IE_EXPORT_NAME,
DIP_IE_MSG_TYPE,
DIP_IE_SRC_IPV4,
More information about the svn-src-projects
mailing list