diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-31 10:11:32 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-31 10:11:32 +0000 |
commit | 981ece4a85f640315baf30e99de314f43a1136b3 (patch) | |
tree | fb243c0d86f82a2b70396eb544fd653fec332028 /packet-gtp.c | |
parent | e20de5ee108072b3434c16c74ba204cab678b59a (diff) | |
download | wireshark-981ece4a85f640315baf30e99de314f43a1136b3.tar.gz wireshark-981ece4a85f640315baf30e99de314f43a1136b3.tar.bz2 wireshark-981ece4a85f640315baf30e99de314f43a1136b3.zip |
Set some variables in the "can't happen" case of a UMTS QOS item with a
type that's neither 1 nor 2.
svn path=/trunk/; revision=4651
Diffstat (limited to 'packet-gtp.c')
-rw-r--r-- | packet-gtp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-gtp.c b/packet-gtp.c index 27359d0887..5067e14311 100644 --- a/packet-gtp.c +++ b/packet-gtp.c @@ -4,7 +4,7 @@ * Copyright 2001, Michal Melerowicz <michal.melerowicz@nokia.com> * Nicolas Balkota <balkota@mac.com> * - * $Id: packet-gtp.c,v 1.22 2002/01/31 09:59:22 guy Exp $ + * $Id: packet-gtp.c,v 1.23 2002/01/31 10:11:32 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -3330,6 +3330,9 @@ decode_qos_umts(tvbuff_t *tvb, int offset, proto_tree *tree, gchar* qos_str, gui type++; /* +1 because of first 0x86 byte for UMTS QoS */ break; default: + /* XXX - what should we do with the length here? */ + length = 0; + ext_tree_qos = NULL; break; } |