Skip to content
Snippets Groups Projects
Commit 4a3ea41c authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Remove unused variables and functions

parent d399253c
No related branches found
No related tags found
No related merge requests found
...@@ -1367,7 +1367,7 @@ void sflphone_fill_conference_list (void) ...@@ -1367,7 +1367,7 @@ void sflphone_fill_conference_list (void)
void sflphone_fill_history (void) void sflphone_fill_history (void)
{ {
const gchar **entries, **history_entries; const gchar **entries;
gchar *current_entry; gchar *current_entry;
callable_obj_t *history_call, *call; callable_obj_t *history_call, *call;
conference_obj_t *history_conf, *conf; conference_obj_t *history_conf, *conf;
...@@ -1428,7 +1428,7 @@ void sflphone_fill_history (void) ...@@ -1428,7 +1428,7 @@ void sflphone_fill_history (void)
entries++; entries++;
} }
// fill the treeview wtih calls // fill the treeview with calls
n = calllist_get_size(history); n = calllist_get_size(history);
for(i = 0; i < n; i++) { for(i = 0; i < n; i++) {
element = calllist_get_nth(history, i); element = calllist_get_nth(history, i);
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "logger.h" #include "logger.h"
static gint is_confID_confstruct(gconstpointer, gconstpointer); static gint is_confID_confstruct(gconstpointer, gconstpointer);
static gchar *generate_conf_id (void);
static gint is_confID_confstruct (gconstpointer a, gconstpointer b) static gint is_confID_confstruct (gconstpointer a, gconstpointer b)
{ {
...@@ -46,17 +45,6 @@ static gint is_confID_confstruct (gconstpointer a, gconstpointer b) ...@@ -46,17 +45,6 @@ static gint is_confID_confstruct (gconstpointer a, gconstpointer b)
} }
} }
static gchar *generate_conf_id (void)
{
gchar *conf_id;
conf_id = g_new0 (gchar, 30);
g_sprintf (conf_id, "%d", rand());
return conf_id;
}
void conferencelist_init(calltab_t *tab) void conferencelist_init(calltab_t *tab)
{ {
if(tab == NULL) { if(tab == NULL) {
......
...@@ -57,7 +57,6 @@ static GtkWidget * dialpad = NULL; ...@@ -57,7 +57,6 @@ static GtkWidget * dialpad = NULL;
static GtkWidget * speaker_control = NULL; static GtkWidget * speaker_control = NULL;
static GtkWidget * mic_control = NULL; static GtkWidget * mic_control = NULL;
static GtkWidget * statusBar = NULL; static GtkWidget * statusBar = NULL;
static GtkWidget * filterEntry = NULL;
static PidginScrollBook *embedded_error_notebook; static PidginScrollBook *embedded_error_notebook;
static gchar *status_current_message = NULL; static gchar *status_current_message = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment