[dia] [warningectomy] Declaration hides parameter of same name
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] Declaration hides parameter of same name
- Date: Sun, 13 Nov 2011 14:08:08 +0000 (UTC)
commit 8447ad7a5a10e6348da99fd18dc9763242975606
Author: Hans Breuer <hans breuer org>
Date: Tue Nov 1 15:09:42 2011 +0100
[warningectomy] Declaration hides parameter of same name
lib/proplist.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/proplist.c b/lib/proplist.c
index 13a26c5..2cbf7f8 100644
--- a/lib/proplist.c
+++ b/lib/proplist.c
@@ -143,14 +143,14 @@ prop_list_copy_empty(GPtrArray *plist)
}
gboolean
-prop_list_load(GPtrArray *props, DataNode data, GError **err)
+prop_list_load(GPtrArray *props, DataNode data_node, GError **err)
{
int i;
gboolean ret = TRUE;
for (i = 0; i < props->len; i++) {
Property *prop = g_ptr_array_index(props,i);
- AttributeNode attr = object_find_attribute(data, prop->descr->name);
+ AttributeNode attr = object_find_attribute(data_node, prop->descr->name);
DataNode data = attr ? attribute_first_data(attr) : NULL;
if ((!attr || !data) && prop->descr->flags & PROP_FLAG_OPTIONAL) {
prop->experience |= PXP_NOTSET;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]