diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-07-05 23:14:00 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-07-05 23:14:00 +0000 |
commit | 2ef2ecde9ad4c16fa265a98ff4ec34030f182bdc (patch) | |
tree | 1429fddae10c932a535ac4fe29be0ee2d97760b2 /epan/tvbuff.c | |
parent | 1c7349022dbcd51917f8c3bb092a90ca6b2fa4f1 (diff) |
The #if 0'ed out code was being used; #if 0'ing it out meant that some
items didn't get put into the protocol tree. See, for example, the
4548-Bug4668.pcap capture in the Wireshark menagerie (and attached to
bug 4668).
Instead, replace the #if 0'ed out code with code that does what the
non-commented-out line of code did, but doesn't assign to the unused and
now non-existent pi variable.
Make the "hf_id != -1" case the first one, as that should be the
"normal" case.
svn path=/trunk/; revision=37908
Diffstat (limited to 'epan/tvbuff.c')
0 files changed, 0 insertions, 0 deletions