summaryrefslogtreecommitdiff
path: root/src/benchmarks/eo/eo_bench_callbacks.c
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-06-04 13:51:42 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-05 21:57:08 -0300
commit3022503aa5dce605df7fbd4dc48b9fc00b10cd06 (patch)
tree9120c88a5882415289cfe91d40bbc8c2d93ab568 /src/benchmarks/eo/eo_bench_callbacks.c
parent96f0783e04514559f3e2f185076bf6588461ede5 (diff)
eo: Fix compilation of benchmark
- Missing Eo* self in method declarations. - Gcc complaining about variable-sized object being initialized.
Diffstat (limited to 'src/benchmarks/eo/eo_bench_callbacks.c')
-rw-r--r--src/benchmarks/eo/eo_bench_callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmarks/eo/eo_bench_callbacks.c b/src/benchmarks/eo/eo_bench_callbacks.c
index ab779f8417..c06e66e40f 100644
--- a/src/benchmarks/eo/eo_bench_callbacks.c
+++ b/src/benchmarks/eo/eo_bench_callbacks.c
@@ -50,7 +50,7 @@ bench_eo_callbacks_call(int request)
50 50
51 const int len = EINA_C_ARRAY_LENGTH(distribution); 51 const int len = EINA_C_ARRAY_LENGTH(distribution);
52 int i, j; 52 int i, j;
53 Eo *obj[len] = { 0 }; 53 Eo *obj[len];
54 for (i = 0 ; i < len ; i++) 54 for (i = 0 ; i < len ; i++)
55 { 55 {
56 obj[i] = eo_add(SIMPLE_CLASS, NULL); 56 obj[i] = eo_add(SIMPLE_CLASS, NULL);