summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2015-11-01 18:18:07 +0100
committerMartin Kaiser <wireshark@kaiser.cx>2015-11-01 17:20:44 +0000
commitc9c1ae46ce8dfc43d041ef69c4b38f850a567db1 (patch)
tree5d1f63604e891ee639aca95bbf4ed4ac47d52770
parenta4a5f2d0f0e993d4352e7db39a53407ab8985265 (diff)
downloadwireshark-c9c1ae46ce8dfc43d041ef69c4b38f850a567db1.tar.gz
[iso7816] remove unnecessary initial values
Change-Id: Ibc370cf99b1f62745174709a35155aa25bc1b3b2 Reviewed-on: https://code.wireshark.org/review/11481 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
-rw-r--r--epan/dissectors/packet-iso7816.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-iso7816.c b/epan/dissectors/packet-iso7816.c
index 2b35a425fe..3010984238 100644
--- a/epan/dissectors/packet-iso7816.c
+++ b/epan/dissectors/packet-iso7816.c
@@ -701,10 +701,10 @@ dissect_iso7816_resp_apdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static int
dissect_iso7816(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
- gint offset = 0;
- proto_item *tree_ti = NULL;
- proto_tree *iso7816_tree = NULL;
- gboolean is_atr = FALSE;
+ gint offset = 0;
+ proto_item *tree_ti;
+ proto_tree *iso7816_tree;
+ gboolean is_atr = FALSE;
if (pinfo->p2p_dir!=P2P_DIR_SENT && pinfo->p2p_dir!=P2P_DIR_RECV)
return 0;