diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-14 20:33:42 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-14 20:33:42 +0000 |
commit | 22b898e4cfc7d39ffaad5c5fbda6578932fc3c53 (patch) | |
tree | 00cb83212b3180d4aa75634bc167dd89a9ff306e /usr.sbin | |
parent | 9a184b788c3dda629137eb693eac2774b1937add (diff) | |
download | FreeBSD-src-22b898e4cfc7d39ffaad5c5fbda6578932fc3c53.zip FreeBSD-src-22b898e4cfc7d39ffaad5c5fbda6578932fc3c53.tar.gz |
Mark snmptoolctx unused in parse_authentication(..), parse_privacy(..),
parse_context(..), and parse_user_security(..).
MFC after: 1 week
Reported by: clang, gcc
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c b/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c index ac701d0..1f59f71 100644 --- a/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c +++ b/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c @@ -482,7 +482,7 @@ parse_ascii(char *ascii, uint8_t *binstr, size_t binlen) * snmp_client structure. */ int32_t -parse_authentication(struct snmp_toolinfo *snmptoolctx, char *opt_arg) +parse_authentication(struct snmp_toolinfo *snmptoolctx __unused, char *opt_arg) { int32_t count, subopt; char *val, *option; @@ -537,7 +537,7 @@ parse_authentication(struct snmp_toolinfo *snmptoolctx, char *opt_arg) } int32_t -parse_privacy(struct snmp_toolinfo *snmptoolctx, char *opt_arg) +parse_privacy(struct snmp_toolinfo *snmptoolctx __unused, char *opt_arg) { int32_t count, subopt; char *val, *option; @@ -590,7 +590,7 @@ parse_privacy(struct snmp_toolinfo *snmptoolctx, char *opt_arg) } int32_t -parse_context(struct snmp_toolinfo *snmptoolctx, char *opt_arg) +parse_context(struct snmp_toolinfo *snmptoolctx __unused, char *opt_arg) { int32_t count, subopt; char *val, *option; @@ -632,7 +632,7 @@ parse_context(struct snmp_toolinfo *snmptoolctx, char *opt_arg) } int32_t -parse_user_security(struct snmp_toolinfo *snmptoolctx, char *opt_arg) +parse_user_security(struct snmp_toolinfo *snmptoolctx __unused, char *opt_arg) { int32_t count, subopt, saved_errno; char *val, *option; |