summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-02-12 18:56:38 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-02-12 18:56:38 +0100
commit09bcf9e5fd381db0137d55f08400aa22afb3d819 (patch)
treec5e2d415221d4517e56ab5b874a59cf17d6a5c98 /src
parent563dba9d60f55ca811d082b32a1617f14dd055c3 (diff)
eolian: stop build with EOLIAN_WARN_FUNC_DUPLICATES > 1
Diffstat (limited to 'src')
-rw-r--r--src/lib/eolian/database_validate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index 1a4c83f6a8..1dd015d70f 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -341,6 +341,8 @@ _validate_function(const Eolian_Unit *src, Eolian_Function *func, Eina_Hash *nha
341 ofunc->base.line, ofunc->base.column); 341 ofunc->base.line, ofunc->base.column);
342 if ((!func->is_beta && !ofunc->is_beta) || (_duplicates_warn > 1)) 342 if ((!func->is_beta && !ofunc->is_beta) || (_duplicates_warn > 1))
343 _obj_error(&func->base, buf); 343 _obj_error(&func->base, buf);
344 if (_duplicates_warn > 1)
345 return EINA_FALSE;
344 } 346 }
345 347
346 /* if already validated, no need to perform the other checks... 348 /* if already validated, no need to perform the other checks...