Activate -Wall compile flag, Fix code not to throw warnings

This commit is contained in:
2018-06-05 22:51:50 +02:00
parent 3ed83c1146
commit da19037211
4 changed files with 15 additions and 13 deletions

View File

@@ -8,10 +8,8 @@ static gboolean tree_sel_func(GtkTreeSelection *selection,
gboolean path_currently_selected,
gpointer data)
{
static int cnt = 0;
GtkTreeIter iter;
struct gds_cell *cell;
gchar *p;
gtk_tree_model_get_iter(model, &iter, path);
gtk_tree_model_get(model, &iter, CELL_SEL_CELL, &cell, -1);