aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/graph_analysis.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-11-10 12:05:25 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-11-10 12:05:25 +0000
commit0dbfde8b6de9977bda3094940dc8b11302f75a47 (patch)
treef3febdc4d98050c226ef2a682e8534319f36d1fb /gtk/graph_analysis.c
parent88afdd95256a3b0a6cf755475e8ac32c8a0f87a8 (diff)
Removed some unused variables and unused assignments.
svn path=/trunk/; revision=30918
Diffstat (limited to 'gtk/graph_analysis.c')
-rw-r--r--gtk/graph_analysis.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk/graph_analysis.c b/gtk/graph_analysis.c
index b8a5ee211a..ea6601d03a 100644
--- a/gtk/graph_analysis.c
+++ b/gtk/graph_analysis.c
@@ -496,10 +496,6 @@ static void save_to_file_destroy_cb(GtkWidget *win _U_, gpointer user_data _U_)
static void overwrite_existing_file_cb(gpointer dialog _U_, gint btn, gpointer user_data)
{
- graph_analysis_data_t *user_data_p;
-
- user_data_p = user_data;
-
switch(btn) {
case(ESD_BTN_YES):
/* overwrite the file*/
@@ -625,7 +621,6 @@ static void dialog_graph_draw(graph_analysis_data_t* user_data)
guint32 bottom_y_border;
graph_analysis_item_t *gai;
guint16 first_conv_num;
- gboolean several_convs = FALSE;
gboolean first_packet = TRUE;
GdkGC *frame_fg_color;
@@ -680,7 +675,6 @@ static void dialog_graph_draw(graph_analysis_data_t* user_data)
first_item = user_data->dlg.first_item;
display_items = draw_height/ITEM_HEIGHT;
- last_item = first_item+display_items-1;
/* get the items to display and fill the matrix array */
list = g_list_first(user_data->graph_info->list);
@@ -711,10 +705,6 @@ static void dialog_graph_draw(graph_analysis_data_t* user_data)
first_packet=FALSE;
}
- if (user_data->dlg.items[current_item].conv_num != first_conv_num){
- several_convs = TRUE;
- }
-
user_data->dlg.items[current_item].src_node = gai->src_node;
user_data->dlg.items[current_item].dst_node = gai->dst_node;
user_data->dlg.items[current_item].line_style = gai->line_style;