From 84c2d9d83b4b9ff286427ebb04c5cf678170357e Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 7 Jan 2019 16:17:39 +1100 Subject: Stop variable shadowing. This makes the code easier to understand and improves performance very slightly. --- gtk/ScintillaGTKAccessible.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/ScintillaGTKAccessible.cxx b/gtk/ScintillaGTKAccessible.cxx index 71e08034b..44069e274 100644 --- a/gtk/ScintillaGTKAccessible.cxx +++ b/gtk/ScintillaGTKAccessible.cxx @@ -1129,7 +1129,7 @@ AtkObject *ScintillaGTKAccessible::WidgetGetAccessibleImpl(GtkWidget *widget, At if (parent_atk_type == 0) { AtkObject *parent_obj = GTK_WIDGET_CLASS(widget_parent_class)->get_accessible(widget); if (parent_obj) { - GType parent_atk_type = G_OBJECT_TYPE(parent_obj); + parent_atk_type = G_OBJECT_TYPE(parent_obj); // Figure out whether accessibility is enabled by looking at the type of the accessible // object which would be created for the parent type of ScintillaObject. -- cgit v1.2.3