diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-21 02:01:06 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-21 02:01:06 +0000 |
commit | 6bc54ce4d0fd20f3673f059ec4bd3c7df1151585 (patch) | |
tree | 3406b514e1c09bdc54bfc77913edb0688d160265 /packet-diameter.c | |
parent | 9202a69b578874e6ef4481974c09a6cd01084a6a (diff) |
Get rid of some unused variables.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4241 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-diameter.c')
-rw-r--r-- | packet-diameter.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packet-diameter.c b/packet-diameter.c index 5bf3caeb72..3b3201ffa6 100644 --- a/packet-diameter.c +++ b/packet-diameter.c @@ -1,7 +1,7 @@ /* packet-diameter.c * Routines for Diameter packet disassembly * - * $Id: packet-diameter.c,v 1.33 2001/11/04 02:50:19 guy Exp $ + * $Id: packet-diameter.c,v 1.34 2001/11/21 02:01:06 guy Exp $ * * Copyright (c) 2001 by David Frascone <dave@frascone.com> * @@ -335,7 +335,6 @@ addStaticAVP(int code, gchar *name, diameterDataType type, value_string *values) /* Parse our values array, if we have one */ if (values) { for (i=0; values[i].strptr != NULL; i++) { - char *valueName=NULL, *valueCode=NULL; ValueName *ve = NULL; ve = g_malloc(sizeof(ValueName)); @@ -510,7 +509,6 @@ addCommand(int code, char *name, char *vendorId) static int xmlParseCommand(xmlDocPtr doc, xmlNodePtr cur) { - guint32 vendorId = 0; char *name, *code, *vendorIdString; /* @@ -1271,7 +1269,6 @@ static void dissect_avps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *avp_tree size_t offset = 0 ; char dataBuffer[4096]; tvbuff_t *group_tvb; - tvbuff_t *mip_tvb; proto_tree *group_tree; proto_item *grouptf; proto_item *avptf; @@ -1584,8 +1581,6 @@ static void dissect_avps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *avp_tree } break; case DIAMETER_MIP_REG_REQ: - - /* Make a new tvb */ safe_dissect_mip(tvb, pinfo, avpi_tree, offset, avpDataLength); break; |