From aa4433027fa843defe79ff7a79e804c0a03cdfee Mon Sep 17 00:00:00 2001
From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
Date: Wed, 1 Oct 2008 16:19:02 -0400
Subject: [PATCH] remove unuseful variables

---
 sflphone-gtk/src/actions.c   | 1 -
 sflphone-gtk/src/assistant.c | 1 -
 sflphone-gtk/src/calltree.c  | 3 ---
 sflphone-gtk/src/menus.c     | 4 ----
 4 files changed, 9 deletions(-)

diff --git a/sflphone-gtk/src/actions.c b/sflphone-gtk/src/actions.c
index 93c33138d5..c0e60f1544 100644
--- a/sflphone-gtk/src/actions.c
+++ b/sflphone-gtk/src/actions.c
@@ -194,7 +194,6 @@ sflphone_fill_account_list(gboolean toolbarInitialized)
 gboolean
 sflphone_init()
 {
-	int i;
 	current_calls = calltab_init();
 	history = calltab_init();	
 	if(SHOW_SEARCHBAR)  histfilter = create_filter(GTK_TREE_MODEL(history->store));
diff --git a/sflphone-gtk/src/assistant.c b/sflphone-gtk/src/assistant.c
index 54851cdc7d..20c48e189e 100644
--- a/sflphone-gtk/src/assistant.c
+++ b/sflphone-gtk/src/assistant.c
@@ -395,7 +395,6 @@ create_vbox(GtkAssistantPageType type, const gchar *title, const gchar *section)
 {
   GtkWidget *vbox;
   GtkWidget *label;
-  GdkPixbuf *pixbuf;
   gchar *str;
 
   vbox = gtk_vbox_new(FALSE, 6);
diff --git a/sflphone-gtk/src/calltree.c b/sflphone-gtk/src/calltree.c
index a247f8127d..15b7a89c6a 100644
--- a/sflphone-gtk/src/calltree.c
+++ b/sflphone-gtk/src/calltree.c
@@ -586,7 +586,6 @@ update_call_tree_remove (calltab_t* tab, call_t * c)
   GValue val;
   call_t * iterCall;
   GtkListStore* store = tab->store;
-  GtkWidget* view = tab->view;
 
   int nbChild = gtk_tree_model_iter_n_children(GTK_TREE_MODEL(store), NULL);
   int i;
@@ -620,7 +619,6 @@ update_call_tree (calltab_t* tab, call_t * c)
   GValue val;
   call_t * iterCall;
   GtkListStore* store = tab->store;
-  GtkWidget* view = tab->view;
 
   int nbChild = gtk_tree_model_iter_n_children(GTK_TREE_MODEL(store), NULL);
   int i;
@@ -744,7 +742,6 @@ update_call_tree_add (calltab_t* tab, call_t * c)
   // New call in the list
   gchar * description;
   gchar * date="";
-  gchar * duration="";
   description = g_markup_printf_escaped("<b>%s</b> <i>%s</i>", 
       call_get_number(c),
       call_get_name(c)); 
diff --git a/sflphone-gtk/src/menus.c b/sflphone-gtk/src/menus.c
index 3340909b65..406a9f83b3 100644
--- a/sflphone-gtk/src/menus.c
+++ b/sflphone-gtk/src/menus.c
@@ -121,10 +121,6 @@ help_about ( void * foo)
     "Pierre-Luc Beaudoin <pierre-luc.beaudoin@savoirfairelinux.com>", 
     "Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>",
     NULL};
-  gchar *translators[] = {
-    "Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>",
-    "Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>",
-    NULL};
 
   gtk_show_about_dialog( GTK_WINDOW(get_main_window()),
       "artists", artists,
-- 
GitLab