aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_byte_graph_dlg.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-15 21:09:04 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-15 21:09:04 +0000
commit5cbc1aab0aba56173e162389593ab1d4b28770f9 (patch)
treeae1373cc62c0a53ca740c95010e3e09d32783188 /gtk/sctp_byte_graph_dlg.c
parentaafe3a96450b4daefd09e97a4036cb01b023d421 (diff)
Don't assign to an unused variable;
#include <stdlib.h> not req'd git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37168 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/sctp_byte_graph_dlg.c')
-rw-r--r--gtk/sctp_byte_graph_dlg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/sctp_byte_graph_dlg.c b/gtk/sctp_byte_graph_dlg.c
index b7b5367ce5..f81b1bf71d 100644
--- a/gtk/sctp_byte_graph_dlg.c
+++ b/gtk/sctp_byte_graph_dlg.c
@@ -26,7 +26,6 @@
# include <config.h>
#endif
#include <stdio.h>
-#include <stdlib.h>
#include <math.h>
#include <string.h>
@@ -851,7 +850,7 @@ on_button_release_event (GtkWidget *widget _U_, GdkEventButton *event, gpointer
{
struct sctp_udata *u_data = user_data;
sctp_graph_t *ios;
- guint32 helpx, helpy, x1_tmp, x2_tmp, y_value, frame;
+ guint32 helpx, helpy, x1_tmp, x2_tmp, y_value;
gint label_width, label_height;
gdouble x_value, position, tfirst;
gint lwidth;
@@ -968,7 +967,6 @@ on_button_release_event (GtkWidget *widget _U_, GdkEventButton *event, gpointer
tsn = (tsn_t*) (tsnlist->data);
tmptsn =(tsn_t*)(tsnlist->data);
tfirst = tsn->secs + tsn->usecs/1000000.0;
- frame = tsn->frame_number;
while (tsnlist)
{