Coverity 1167
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 22 Mar 2011 09:55:33 +0000 (09:55 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 22 Mar 2011 09:55:33 +0000 (09:55 +0000)
commit63790b884d41c600b3aaf15d0c74a1d81ba92fda
tree10822c18e3253b90644da2ca6e1eaa2217b7a6be
parent29cb072c5d462f4cf961147601954e10576b6c2a
Coverity 1167

Dont assign tlv_item unless we need to dereference it.
Also push the variable deeper into the scope where it is used isntead of function wide scope.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36243 f5534014-38df-0310-8fa8-9805f1628bb7
plugins/wimax/msg_dcd.c