diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-15 10:58:51 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-15 10:58:51 +0000 |
commit | 4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6 (patch) | |
tree | 6b901d4ee43f2ce7a163c3a3a064daec26068398 /packet-wcp.c | |
parent | dc1ac349f9600ff39b79a0e8fcade093f3b58cca (diff) | |
download | wireshark-4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6.tar.gz wireshark-4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6.tar.bz2 wireshark-4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6.zip |
Get rid of NullTVB, the "compat_top_tvb" member of the "packet_info"
structure, the check for a null tvbuff pointer in "alloc_field_info()",
and the "tvb_create_from_top()" macro; they're no longer needed, as
there's no non-tvbuffified dissector code remaining.
svn path=/trunk/; revision=4205
Diffstat (limited to 'packet-wcp.c')
-rw-r--r-- | packet-wcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-wcp.c b/packet-wcp.c index 3f8bcd4d6e..f2a5bcef01 100644 --- a/packet-wcp.c +++ b/packet-wcp.c @@ -2,7 +2,7 @@ * Routines for Wellfleet Compression frame disassembly * Copyright 2001, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-wcp.c,v 1.11 2001/09/03 10:33:07 guy Exp $ + * $Id: packet-wcp.c,v 1.12 2001/11/15 10:58:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -399,7 +399,6 @@ void dissect_wcp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { /* Save the current value of "pi", and adjust certain fields to reflect the new tvbuff. */ save_pi = pi; - pi.compat_top_tvb = next_tvb; pi.len = tvb_reported_length(next_tvb); pi.captured_len = tvb_length(next_tvb); must_restore_pi = TRUE; |