summaryrefslogtreecommitdiff
path: root/gio/gtestdbus.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-12 13:09:56 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-29 08:11:13 +0000
commit598a9c5028eef0f84b8f3830524058f3ab5eb257 (patch)
treeea1c519de1a14a94c2c3813de6c7057ed39a0497 /gio/gtestdbus.c
parentb328cae6a975055ad83d99b248f366fe0973ff0e (diff)
gtestdbus: Fix variable shadowing
Shut up, GCC. https://bugzilla.gnome.org/show_bug.cgi?id=712148
Diffstat (limited to 'gio/gtestdbus.c')
-rw-r--r--gio/gtestdbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gtestdbus.c b/gio/gtestdbus.c
index 98ee8c9fd..d84a6002c 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,
- " <servicedir>%s</servicedir>\n", path);
+ " <servicedir>%s</servicedir>\n", dir_path);
}
g_string_append (contents,