[vte] a11y: Fix compiler warnings about unused variables



commit 737416ca14e3be9fb8ffd75aec387ef2720ce0d3
Author: Christian Persch <chpe gnome org>
Date:   Wed Apr 23 19:21:05 2014 +0200

    a11y: Fix compiler warnings about unused variables

 src/vteaccess.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/vteaccess.c b/src/vteaccess.c
index d58d336..f3a80ee 100644
--- a/src/vteaccess.c
+++ b/src/vteaccess.c
@@ -691,7 +691,6 @@ static void
 vte_terminal_accessible_initialize (AtkObject *obj, gpointer data)
 {
        VteTerminal *terminal = VTE_TERMINAL (data);
-       AtkObject *parent;
         const char *window_title;
 
        ATK_OBJECT_CLASS (_vte_terminal_accessible_parent_class)->initialize (obj, data);
@@ -886,15 +885,12 @@ vte_terminal_accessible_get_text_somewhere(AtkText *text,
 {
         VteTerminalAccessible *accessible = VTE_TERMINAL_ACCESSIBLE(text);
        VteTerminalAccessiblePrivate *priv = _vte_terminal_accessible_get_instance_private(accessible);
-       VteTerminal *terminal;
        gunichar current, prev, next;
        guint start, end, line;
 
        vte_terminal_accessible_update_private_data_if_needed(accessible,
                                                              NULL, NULL);
 
-       terminal = VTE_TERMINAL(gtk_accessible_get_widget (GTK_ACCESSIBLE(accessible)));
-
        _vte_debug_print(VTE_DEBUG_ALLY,
                        "Getting %s %s at %d of %d.\n",
                        (direction == direction_current) ? "this" :


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]