summaryrefslogtreecommitdiff
path: root/ui/gtk/sctp_byte_graph_dlg.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-12-01 19:59:40 +0100
committerAnders Broman <a.broman58@gmail.com>2015-12-01 21:10:42 +0000
commitdde90234c9665cfb2c6175240bcd68b060f7cf41 (patch)
tree71b2174c94396b24d5e4d10200c352eaa0dfe792 /ui/gtk/sctp_byte_graph_dlg.c
parent21ac94a323e6ede4407dddf1190f5bfe5f7915d0 (diff)
downloadwireshark-dde90234c9665cfb2c6175240bcd68b060f7cf41.tar.gz
sctp_byte_graph_dlg: fix The 'u_data' variable is assigned to itself found by PVS Studio (V570)
Change-Id: I6cde7c8357ad6295706c64ce6d280a867bdb9aad Reviewed-on: https://code.wireshark.org/review/12338 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/gtk/sctp_byte_graph_dlg.c')
-rw-r--r--ui/gtk/sctp_byte_graph_dlg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/gtk/sctp_byte_graph_dlg.c b/ui/gtk/sctp_byte_graph_dlg.c
index 55a5bcd766..4b1815497c 100644
--- a/ui/gtk/sctp_byte_graph_dlg.c
+++ b/ui/gtk/sctp_byte_graph_dlg.c
@@ -712,7 +712,6 @@ static void sctp_graph_redraw(struct sctp_udata *u_data)
static void on_sack_bt(GtkWidget *widget _U_, struct sctp_udata *u_data)
{
- u_data = (struct sctp_udata *) u_data;
u_data->io->graph_type = 2;
sctp_graph_redraw(u_data);
}