sip: remove some unnecessary if (tree) checks
authorMartin Kaiser <wireshark@kaiser.cx>
Mon, 13 Jun 2016 18:36:10 +0000 (11:36 -0700)
committerAnders Broman <a.broman58@gmail.com>
Mon, 13 Jun 2016 21:13:07 +0000 (21:13 +0000)
commit4dad15150490c651f1c741f0caed442df46d543c
tree0daaa869baede7d183106f07bfbc9fb48061bf25
parentbcbcad1e597f89e64389b6cc25b2fdbe9f89d960
sip: remove some unnecessary if (tree) checks

which shouldn't have any impact on performance

we should not remove the chcks around blocks where
vb_format_text() is called

Change-Id: Idc191cc70e7458225bbc5dfececb3c88c83ab5f1
Reviewed-on: https://code.wireshark.org/review/15879
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-sip.c