From 598a9c5028eef0f84b8f3830524058f3ab5eb257 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 12 Nov 2013 13:09:56 +0000 Subject: [PATCH] gtestdbus: Fix variable shadowing Shut up, GCC. https://bugzilla.gnome.org/show_bug.cgi?id=712148 --- gio/gtestdbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gtestdbus.c b/gio/gtestdbus.c index 98ee8c9..d84a600 100644 --- a/gio/gtestdbus.c +++ b/gio/gtestdbus.c @@ -556,10 +556,10 @@ write_config_file (GTestDBus *self) for (i = 0; i < self->priv->service_dirs->len; i++) { - const gchar *path = g_ptr_array_index (self->priv->service_dirs, i); + const gchar *dir_path = g_ptr_array_index (self->priv->service_dirs, i); g_string_append_printf (contents, - " %s\n", path); + " %s\n", dir_path); } g_string_append (contents, -- 2.7.4