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
This commit is contained in:
parent
9a184b788c
commit
22b898e4cf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user