[gtk/static-analysis-fixes: 3/13] a11y: Static analysis fixes




commit 6863528df1830189f4e75109177647f04e01ca58
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon May 3 07:33:31 2021 -0400

    a11y: Static analysis fixes

 gtk/a11y/gtkatspitext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/a11y/gtkatspitext.c b/gtk/a11y/gtkatspitext.c
index 44a5605716..338357f6d3 100644
--- a/gtk/a11y/gtkatspitext.c
+++ b/gtk/a11y/gtkatspitext.c
@@ -1110,7 +1110,7 @@ text_view_handle_method (GDBusConnection       *connection,
     }
   else if (g_strcmp0 (method_name, "ScrollSubstringTo") == 0)
     {
-      GtkTextBuffer *buffer = buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (widget));
+      GtkTextBuffer *buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (widget));
       GtkTextIter iter;
       int start_offset = 0;
       int end_offset = 0;


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