summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-03-21 16:46:55 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2019-03-21 16:46:55 +0100
commit5c1ea543bb9d4e3b36721994563bff0152429d97 (patch)
treed4b6416e4231e7fafc3761d4ad9b41db54fc6f37
parentcef2e337b84876146bbaa936e625f189dc6a4877 (diff)
eolian: assume requires section is legitimate dependencies
Previously these were not considered, which resulted in false positive warnings.
-rw-r--r--src/lib/eolian/database_check.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/eolian/database_check.c b/src/lib/eolian/database_check.c
index 61afa6e281..4e448cea7a 100644
--- a/src/lib/eolian/database_check.c
+++ b/src/lib/eolian/database_check.c
@@ -125,6 +125,11 @@ _check_class(const Eolian_Class *cl, Eina_Hash *depset, Eina_Hash *chash)
125 _add_dep(depset, icl->base.unit); 125 _add_dep(depset, icl->base.unit);
126 eina_iterator_free(itr); 126 eina_iterator_free(itr);
127 127
128 itr = eina_list_iterator_new(cl->requires);
129 EINA_ITERATOR_FOREACH(itr, icl)
130 _add_dep(depset, icl->base.unit);
131 eina_iterator_free(itr);
132
128 const Eolian_Function *fid; 133 const Eolian_Function *fid;
129 itr = eina_list_iterator_new(cl->properties); 134 itr = eina_list_iterator_new(cl->properties);
130 EINA_ITERATOR_FOREACH(itr, fid) 135 EINA_ITERATOR_FOREACH(itr, fid)