aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-04-19 11:07:52 +0200
committerAnders Broman <a.broman58@gmail.com>2016-04-19 17:21:49 +0000
commit45a4ec8ae8c1c25d69c5cac1d624658aed64be2e (patch)
treef209f5cc8d2c228b82acde05a193f6c9afcfe361 /epan/dissectors/packet-tcp.c
parent36eb2c9d3b4ddedd6e5f7590cfcc2cb48b130160 (diff)
TCP: fix was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: I8b78f1731ce01c3aec7fe7db310fed14984a5d53 Reviewed-on: https://code.wireshark.org/review/15001 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-tcp.c')
-rw-r--r--epan/dissectors/packet-tcp.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c
index 1770cab4cb..b53729a71e 100644
--- a/epan/dissectors/packet-tcp.c
+++ b/epan/dissectors/packet-tcp.c
@@ -2001,8 +2001,8 @@ tcp_sequence_number_analysis_print_zero_window(packet_info * pinfo,
/* Prints results of the sequence number analysis concerning how many bytes of data are in flight */
static void
tcp_sequence_number_analysis_print_bytes_in_flight(packet_info * pinfo _U_,
- tvbuff_t * tvb _U_,
- proto_tree * flags_tree _U_,
+ tvbuff_t * tvb,
+ proto_tree * flags_tree,
struct tcp_acked *ta
)
{
@@ -2268,8 +2268,7 @@ mptcp_analysis_dsn_lookup(packet_info *pinfo , tvbuff_t *tvb,
/* Print subflow list */
static void
mptcp_add_analysis_subtree(packet_info *pinfo, tvbuff_t *tvb, proto_tree *parent_tree,
- struct tcp_analysis *tcpd, struct mptcp_analysis *mptcpd, struct tcpheader * tcph _U_
- )
+ struct tcp_analysis *tcpd, struct mptcp_analysis *mptcpd, struct tcpheader * tcph)
{
proto_item *item = NULL;
@@ -2322,8 +2321,8 @@ mptcp_add_analysis_subtree(packet_info *pinfo, tvbuff_t *tvb, proto_tree *parent
static void
tcp_sequence_number_analysis_print_push_bytes_sent(packet_info * pinfo _U_,
- tvbuff_t * tvb _U_,
- proto_tree * flags_tree _U_,
+ tvbuff_t * tvb,
+ proto_tree * flags_tree,
struct tcp_acked *ta
)
{
@@ -5223,7 +5222,7 @@ tcp_flags_to_str_first_letter(const struct tcpheader *tcph)
}
static gboolean
-capture_tcp(const guchar *pd _U_, int offset _U_, int len _U_, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header _U_)
+capture_tcp(const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header)
{
guint16 src_port, dst_port, low_port, high_port;