diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-29 08:20:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-29 08:20:18 +0000 |
commit | 9a80f0a5212d8ad6704cebefbaf091a473ab04a4 (patch) | |
tree | 53112d7b0bd3805cf4f0a1184361d95493a61129 /packet-afp.c | |
parent | 30f02bc99cb3a578758c76cc6cb0c8278273e6be (diff) |
Removal (or, at least, #ifdeffing out) of unused variables and
functions, from David Frascone.
svn path=/trunk/; revision=5288
Diffstat (limited to 'packet-afp.c')
-rw-r--r-- | packet-afp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-afp.c b/packet-afp.c index 2158959b7c..67c4841e8c 100644 --- a/packet-afp.c +++ b/packet-afp.c @@ -2,7 +2,7 @@ * Routines for afp packet dissection * Copyright 2002, Didier Gautheron <dgautheron@magic.fr> * - * $Id: packet-afp.c,v 1.9 2002/04/28 23:47:44 guy Exp $ + * $Id: packet-afp.c,v 1.10 2002/04/29 08:20:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -257,7 +257,9 @@ static gint ett_afp_path_name = -1; static gint ett_afp_lock_flags = -1; static gint ett_afp_dir_ar = -1; +#ifdef AFP_UNUSED_HANDLES static dissector_handle_t afp_handle; +#endif static dissector_handle_t data_handle; static const value_string vol_signature_vals[] = { @@ -827,7 +829,6 @@ parse_file_bitmap (proto_tree *tree, tvbuff_t *tvb, gint offset, guint16 bitmap, { guint16 lnameoff = 0; guint16 snameoff = 0; - guint16 unameoff = 0; gint max_offset = 0; gint org_offset = offset; |