[glib] gtestdbus: Fix variable shadowing
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gtestdbus: Fix variable shadowing
- Date: Fri, 29 Nov 2013 08:11:39 +0000 (UTC)
commit 598a9c5028eef0f84b8f3830524058f3ab5eb257
Author: Philip Withnall <philip withnall collabora co uk>
Date: Tue Nov 12 13:09:56 2013 +0000
gtestdbus: Fix variable shadowing
Shut up, GCC.
https://bugzilla.gnome.org/show_bug.cgi?id=712148
gio/gtestdbus.c | 4 ++--
1 files 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,
- " <servicedir>%s</servicedir>\n", path);
+ " <servicedir>%s</servicedir>\n", dir_path);
}
g_string_append (contents,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]