summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Levin <avi.levin@samsung.com>2015-02-09 22:04:01 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-09 22:04:51 +0100
commitd5496b09ad51ebcfaa541335bb89477682e038d1 (patch)
tree3b709ecaf9c41243f22360c948f3f970532e2122
parent024880add4bbe932f826cf408f25185448963b6b (diff)
downloadefl-d5496b09ad51ebcfaa541335bb89477682e038d1.tar.gz
eina: fix eina_bench.c compilation error.
Summary: When trying to compile eina_bench.c we get an error that say we didnt defined the variables that EINA_ARRAY_ITER_NEXT. I defined them. @fix Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1952 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/benchmarks/eina/eina_bench.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/benchmarks/eina/eina_bench.c b/src/benchmarks/eina/eina_bench.c
index 1f7d18cec4..dec210e06d 100644
--- a/src/benchmarks/eina/eina_bench.c
+++ b/src/benchmarks/eina/eina_bench.c
@@ -68,6 +68,10 @@ static void _mempool_shutdown(void)
eina_module_list_free(_modules);
if (_modules)
{
+ Eina_Array_Iterator it;
+ char* module;
+ unsigned int i;
+
EINA_ARRAY_ITER_NEXT(_modules, i, module, it)
free(module);
eina_array_free(_modules);