Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 08:59:12 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r245546 - projects/diffused_head/sys/netinet
Message-ID:  <201301170859.r0H8xCg4073547@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



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