aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2015-10-30 17:10:46 +0100
committerMartin Kaiser <wireshark@kaiser.cx>2015-10-31 12:09:10 +0000
commitade86d09771b32c8ca38286b2dd4f65bb5929883 (patch)
tree528b96340574bdfcf4cd7eae72781a63cce4bff5 /epan
parentcef1cfa81d499c95f1698c47845fc7c4439c7164 (diff)
[bitcoin] remove two unnecessary return; statements
Change-Id: I97e9ac50b096c798c255227df5760523f623d4bd Reviewed-on: https://code.wireshark.org/review/11456 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-bitcoin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bitcoin.c b/epan/dissectors/packet-bitcoin.c
index f8d442d167..7879d018a3 100644
--- a/epan/dissectors/packet-bitcoin.c
+++ b/epan/dissectors/packet-bitcoin.c
@@ -1090,7 +1090,6 @@ dissect_bitcoin_msg_getheaders(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
}
proto_tree_add_item(tree, &hfi_msg_getheaders_stop, tvb, offset, 32, ENC_NA);
- return;
}
/**
@@ -1541,7 +1540,6 @@ dissect_bitcoin_msg_merkleblock(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tre
static void
dissect_bitcoin_msg_empty(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_)
{
- return;
}
typedef void (*msg_dissector_func_t)(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);