svn commit: r311505 - head/contrib/bsnmp/snmp_mibII

Ngie Cooper ngie at FreeBSD.org
Fri Jan 6 07:57:46 UTC 2017


Author: ngie
Date: Fri Jan  6 07:57:45 2017
New Revision: 311505
URL: https://svnweb.freebsd.org/changeset/base/311505

Log:
  Remove unnecessary __unused attribute attached to `ctx` in op_begemot_mibII(..)
  
  MFC after:	3 days

Modified:
  head/contrib/bsnmp/snmp_mibII/mibII_begemot.c

Modified: head/contrib/bsnmp/snmp_mibII/mibII_begemot.c
==============================================================================
--- head/contrib/bsnmp/snmp_mibII/mibII_begemot.c	Fri Jan  6 07:54:53 2017	(r311504)
+++ head/contrib/bsnmp/snmp_mibII/mibII_begemot.c	Fri Jan  6 07:57:45 2017	(r311505)
@@ -37,7 +37,7 @@
  * Scalars
  */
 int
-op_begemot_mibII(struct snmp_context *ctx __unused, struct snmp_value *value,
+op_begemot_mibII(struct snmp_context *ctx, struct snmp_value *value,
     u_int sub, u_int idx __unused, enum snmp_op op)
 {
 	switch (op) {


More information about the svn-src-head mailing list