gtestdbus: Fix variable shadowing

Shut up, GCC.

https://bugzilla.gnome.org/show_bug.cgi?id=712148
This commit is contained in:
Philip Withnall 2013-11-12 13:09:56 +00:00
parent b328cae6a9
commit 598a9c5028

View File

@ -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,