Commit 0605c231 authored by Cosimo Cecchi's avatar Cosimo Cecchi
Browse files

all: fix some unused variables GCC warnings

parent bd6c0d53
......@@ -170,7 +170,7 @@ on_dialog_add_edit_reponse (GtkWidget *dialog, int response_id,
LogviewFilterManager *manager)
{
GtkWidget *entry_name, *entry_regex;
GtkWidget *radio_color, *radio_visible;
GtkWidget *radio_color;
GtkWidget *check_foreground, *check_background;
GtkWidget *color_foreground, *color_background;
gchar *old_name;
......@@ -189,8 +189,6 @@ on_dialog_add_edit_reponse (GtkWidget *dialog, int response_id,
"entry_regex"));
radio_color = GTK_WIDGET (gtk_builder_get_object (builder,
"radio_color"));
radio_visible = GTK_WIDGET (gtk_builder_get_object (builder,
"radio_visible"));
check_foreground = GTK_WIDGET (gtk_builder_get_object (builder,
"check_foreground"));
check_background = GTK_WIDGET (gtk_builder_get_object (builder,
......
......@@ -377,7 +377,6 @@ static gboolean
read_gzip_header (GInputStream *is,
time_t *modification_time)
{
gboolean res;
guchar buffer[GZIP_HEADER_SIZE];
gssize bytes, to_skip;
guint mode;
......@@ -494,7 +493,6 @@ static gboolean
fill_buffer (GZHandle *gz,
gsize num_bytes)
{
gboolean res;
gsize count;
z_stream * zstream = &gz->zstream;
......
......@@ -431,7 +431,6 @@ logview_prefs_remove_stored_log (LogviewPrefs *prefs, GFile *target)
GFile *stored;
GPtrArray *new_value;
gint idx;
gboolean removed = FALSE;
g_assert (LOGVIEW_IS_PREFS (prefs));
g_assert (G_IS_FILE (target));
......
......@@ -656,7 +656,6 @@ update_filter_menu (LogviewWindow *window)
GList *actions, *l;
guint id;
GList *filters;
GtkTextBuffer *buffer;
GtkTextTagTable *table;
GtkTextTag *tag;
GtkToggleAction *action;
......@@ -667,7 +666,6 @@ update_filter_menu (LogviewWindow *window)
g_return_if_fail (priv->filter_action_group != NULL);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->text_view));
table = priv->tag_table;
if (priv->filter_merge_id != 0) {
......
......@@ -18,7 +18,6 @@ new_lines_cb (LogviewLog *log,
gpointer user_data)
{
int i;
guint8 day;
Day *day_s;
GSList *days, *l;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment