diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-03-31 22:43:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-03-31 22:43:47 +0000 |
commit | 2963d86afde43bf5bb100d7ff5ddf7f83347ba97 (patch) | |
tree | 6734aaec9a3ff098d4b21d141798cd019b11220b /packet-snmp.c | |
parent | 7212bcc1e92ae6ab97a9685bed0ba857dc955ba9 (diff) |
(Conditionally) mark unused variables as such.
svn path=/trunk/; revision=5063
Diffstat (limited to 'packet-snmp.c')
-rw-r--r-- | packet-snmp.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/packet-snmp.c b/packet-snmp.c index d4f7e4ba76..e16059903f 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -8,7 +8,7 @@ * * See RFCs 1905, 1906, 1909, and 1910 for SNMPv2u. * - * $Id: packet-snmp.c,v 1.89 2002/03/26 06:35:03 guy Exp $ + * $Id: packet-snmp.c,v 1.90 2002/03/31 22:43:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -607,8 +607,18 @@ format_var(struct variable_list *variable, subid_t *variable_oid, #endif static int -snmp_variable_decode(proto_tree *snmp_tree, subid_t *variable_oid, - guint variable_oid_length, ASN1_SCK *asn1, int offset, guint *lengthp) +snmp_variable_decode(proto_tree *snmp_tree, + subid_t *variable_oid +#ifndef HAVE_UCD_SNMP + _U_ +#endif + , + guint variable_oid_length +#ifndef HAVE_UCD_SNMP + _U_ +#endif + , + ASN1_SCK *asn1, int offset, guint *lengthp) { int start; guint length; |