Remove get_next_di() and just use packet-scope for those
authorEvan Huus <eapache@gmail.com>
Thu, 31 Jul 2014 17:25:00 +0000 (13:25 -0400)
committerAnders Broman <a.broman58@gmail.com>
Sun, 3 Aug 2014 08:42:46 +0000 (08:42 +0000)
commit8d51a50a819b293d5bfb95238b9fb11d8789b988
tree399155d52cb2f015240fede98cfff37b592f88d4
parent9112a099d7cc2cd924b7c667bf27f6e112b970c6
Remove get_next_di() and just use packet-scope for those

Presumably that was added for tap purposes, but packet-scope is much simpler and
less dangerous. Noticed while investigating the scan-build issues with
stack-local variables being pointed to by globals.

Change-Id: I851d756b103df71079b656e624f7472354c15862
Reviewed-on: https://code.wireshark.org/review/3290
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-dcerpc.c