summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-14 16:45:13 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-14 16:45:13 +0100
commit2259b6f16fc3f7cd186cc4966fb53efc12761938 (patch)
treee05bd0bb8af22bb32f901439775975e4538f43e0
parentf9868b541ea57ade726e7d474d8d80c2b298a283 (diff)
eolian: remove parent info from units (actually doesn't make sense)
-rw-r--r--src/lib/eolian/eolian_database.c1
-rw-r--r--src/lib/eolian/eolian_database.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/eolian/eolian_database.c b/src/lib/eolian/eolian_database.c
index ee016dd016..360d979d77 100644
--- a/src/lib/eolian/eolian_database.c
+++ b/src/lib/eolian/eolian_database.c
@@ -549,7 +549,6 @@ database_unit_init(Eolian *state, Eolian_Unit *unit, Eina_Stringshare *fname)
549 if (fname) 549 if (fname)
550 { 550 {
551 Eolian_Unit *ocunit = _cunit; 551 Eolian_Unit *ocunit = _cunit;
552 unit->parent = ocunit;
553 if (ocunit) 552 if (ocunit)
554 eina_hash_add(ocunit->children, fname, unit); 553 eina_hash_add(ocunit->children, fname, unit);
555 } 554 }
diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h
index 56fabc099e..6b4a06b0f7 100644
--- a/src/lib/eolian/eolian_database.h
+++ b/src/lib/eolian/eolian_database.h
@@ -38,7 +38,6 @@ extern Eina_Hash *_declsf;
38struct _Eolian_Unit 38struct _Eolian_Unit
39{ 39{
40 Eolian *state; 40 Eolian *state;
41 Eolian_Unit *parent;
42 Eina_Hash *children; 41 Eina_Hash *children;
43 Eina_Hash *classes; 42 Eina_Hash *classes;
44 Eina_Hash *globals; 43 Eina_Hash *globals;