diff options
author | Avi Levin <avi.levin@samsung.com> | 2015-02-09 22:04:01 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-02-09 22:04:51 +0100 |
commit | d5496b09ad51ebcfaa541335bb89477682e038d1 (patch) | |
tree | 3b709ecaf9c41243f22360c948f3f970532e2122 /src/benchmarks/eina/eina_bench.c | |
parent | 024880add4bbe932f826cf408f25185448963b6b (diff) |
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>
Diffstat (limited to '')
-rw-r--r-- | src/benchmarks/eina/eina_bench.c | 4 |
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) | |||
68 | eina_module_list_free(_modules); | 68 | eina_module_list_free(_modules); |
69 | if (_modules) | 69 | if (_modules) |
70 | { | 70 | { |
71 | Eina_Array_Iterator it; | ||
72 | char* module; | ||
73 | unsigned int i; | ||
74 | |||
71 | EINA_ARRAY_ITER_NEXT(_modules, i, module, it) | 75 | EINA_ARRAY_ITER_NEXT(_modules, i, module, it) |
72 | free(module); | 76 | free(module); |
73 | eina_array_free(_modules); | 77 | eina_array_free(_modules); |